apply tips from emmanuel
This commit is contained in:
parent
88489339c0
commit
a62b4fc8a8
1 changed files with 8 additions and 10 deletions
|
@ -22,14 +22,15 @@ in mkWindowsApp rec {
|
||||||
enableInstallNotification = true;
|
enableInstallNotification = true;
|
||||||
|
|
||||||
fileMap = {
|
fileMap = {
|
||||||
"$HOME/.cache/${pname}" = "drive_c/${pname}/${pname}-cache";
|
"$HOME/.config/${pname}/Stud.io" = "drive_c/users/$USER/AppData/Local/Stud.io";
|
||||||
|
"$HOME/.config/${pname}/Bricklink" = "drive_c/users/$USER/AppData/LocalLow/Bricklink";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileMapDuringAppInstall = false;
|
fileMapDuringAppInstall = false;
|
||||||
|
|
||||||
persistRegistry = false;
|
persistRegistry = false;
|
||||||
persistRuntimeLayer = false;
|
persistRuntimeLayer = true;
|
||||||
inputHashMethod = "store-path";
|
inputHashMethod = "version";
|
||||||
|
|
||||||
# Can be used to precisely select the Direct3D implementation.
|
# Can be used to precisely select the Direct3D implementation.
|
||||||
#
|
#
|
||||||
|
@ -50,19 +51,16 @@ in mkWindowsApp rec {
|
||||||
inhibitIdle = false;
|
inhibitIdle = false;
|
||||||
|
|
||||||
winAppInstall = ''
|
winAppInstall = ''
|
||||||
d="$WINEPREFIX/drive_c/${pname}"
|
wine64 ${src}
|
||||||
config_dir="$HOME/.config/studio"
|
|
||||||
|
|
||||||
mkdir -p "$d"
|
wine64 reg add 'HKCU\Software\Wine\Explorer' /v Desktop /d "Default"
|
||||||
mkdir -p "$config_dir"
|
wine64 reg add 'HKCU\Software\Wine\Explorer\Desktops' /v Default /d "1920x1080"
|
||||||
|
|
||||||
wine ${src}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
winAppPreRun = '''';
|
winAppPreRun = '''';
|
||||||
|
|
||||||
winAppRun = ''
|
winAppRun = ''
|
||||||
wine "$WINEPREFIX/drive_c/${pname}/studio-${version}-64.exe" "$ARGS"
|
wine64 "$WINEPREFIX/drive_c/Program Files/Studio 2.0/Studio.exe" "$ARGS"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
winAppPostRun = "";
|
winAppPostRun = "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue