Skip to content

Commit

Permalink
Make factory folders read-only on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruselj committed Sep 6, 2021
1 parent b0027d1 commit 7c082d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/installer_win/surge-x86.iss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Name: EffectsSA; Description: Surge XT Effects Standalone (32-bit); Types: full
Name: Data; Description: Data Files; Types: full compact custom; Flags: fixed

[Files]
Source: {#SURGE_SRC}\resources\data\*; DestDir: {commonappdata}\Surge XT\; Components: Data; Flags: recursesubdirs; Excludes: "*.git,windows.wt,configuration.xml,paramdocumentation.xml";
Source: {#SURGE_SRC}\resources\data\*; DestDir: {commonappdata}\Surge XT\; Components: Data; Flags: recursesubdirs; Attribs: readonly; Excludes: "*.git,windows.wt,configuration.xml,paramdocumentation.xml";

;; these lines are used by Azure pipelines - if you want to build the installer locally, comment them out!
Source: {#SURGE_BIN}\surge_xt_products\Surge XT (32-bit).vst3\*; DestDir: {commoncf32}\VST3\Surge Synth Team\; Components: VST3; Flags: ignoreversion recursesubdirs
Expand Down
2 changes: 1 addition & 1 deletion scripts/installer_win/surge.iss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Name: EffectsSA; Description: Surge XT Effects Standalone (64-bit); Types: full
Name: Data; Description: Data Files; Types: full compact custom; Flags: fixed

[Files]
Source: {#SURGE_SRC}\resources\data\*; DestDir: {commonappdata}\Surge XT\; Components: Data; Flags: recursesubdirs; Excludes: "*.git,windows.wt,configuration.xml,paramdocumentation.xml";
Source: {#SURGE_SRC}\resources\data\*; DestDir: {commonappdata}\Surge XT\; Components: Data; Flags: recursesubdirs; Attribs: readonly; Excludes: "*.git,windows.wt,configuration.xml,paramdocumentation.xml";
Source: {#SURGE_BIN}\surge_xt_products\Surge XT.vst3\*; DestDir: {commoncf64}\VST3\Surge Synth Team\; Components: VST3; Flags: ignoreversion recursesubdirs
Source: {#SURGE_BIN}\surge_xt_products\Surge XT Effects.vst3\*; DestDir: {commoncf64}\VST3\Surge Synth Team\; Components: EffectsVST3; Flags: ignoreversion skipifsourcedoesntexist recursesubdirs
Source: {#SURGE_BIN}\surge_xt_products\Surge XT.exe; DestDir: {commonpf64}\Surge Synth Team\; Components: SA; Flags: ignoreversion
Expand Down

0 comments on commit 7c082d7

Please sign in to comment.