-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rework PALETTE_DATA stuff and create data installer
- Loading branch information
Showing
769 changed files
with
698 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.96 | ||
7.97 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
call bin_build | ||
call bin_install | ||
call data_build | ||
call data_install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@echo off | ||
|
||
set datadir=data_omnisphere | ||
|
||
if not "%PALETTE_SOURCE%" == "" goto keepgoing1 | ||
echo You must set the PALETTE_SOURCE environment variable. | ||
goto getout | ||
:keepgoing1 | ||
|
||
set ship=%PALETTE_SOURCE%\build\windows\ship | ||
|
||
rm -fr %ship% > nul 2>&1 | ||
mkdir %ship% | ||
|
||
echo ================ Copying %datadir% | ||
mkdir %ship%\%datadir% | ||
xcopy /e /y %PALETTE_SOURCE%\%datadir%\* %ship%\%datadir% >nul | ||
|
||
echo ================ Creating installer for %datadir% | ||
|
||
set /p version=<../../VERSION | ||
sed -e "s/SUBSTITUTE_DATADIR_HERE/%datadir%/" < %datadir%.iss > tmp.iss | ||
sed -e "s/SUBSTITUTE_VERSION_HERE/%version%/" < tmp.iss > tmp2.iss | ||
"c:\Program Files (x86)\Inno Setup 6\ISCC.exe" /Q tmp2.iss | ||
|
||
set filename=%datadir%_%version% | ||
move Output\%filename%.exe %PALETTE_SOURCE%\release >nul | ||
|
||
rem rm -fr Output > nul 2>&1 | ||
rem rm tmp.iss tmp2.iss | ||
|
||
:getout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@echo off | ||
|
||
set datadir=data_omnisphere | ||
|
||
set /p version=<../../VERSION | ||
echo .................................................... | ||
echo Installing %datadir%_%version% | ||
echo .................................................... | ||
|
||
..\..\release\%datadir%_%version%.exe /SILENT | ||
|
||
echo .................................................... | ||
echo Done! | ||
echo .................................................... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#include "environment.iss" | ||
|
||
#define MyAppName "SUBSTITUTE_DATADIR_HERE" | ||
#define MyAppVersion "SUBSTITUTE_VERSION_HERE" | ||
#define MyAppPublisher "Nosuch Media" | ||
#define MyAppURL "https://github.com/vizicist/palette" | ||
#define DataDir "data_omnisphere" | ||
#define DataPath "{commoncf64}/Palette/SUBSTITUTE_DATADIR_HERE" | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
AppId={{443296B2-FB07-4F76-992A-A100D5E51ADF} | ||
AppVersion={#MyAppVersion} | ||
AppName={#MyAppName} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURL} | ||
AppUpdatesURL={#MyAppURL} | ||
DefaultDirName={#DataPath} | ||
DefaultGroupName={#MyAppName} | ||
; Uncomment the following line to run in non administrative install mode (install for current user only.) | ||
;PrivilegesRequired=lowest | ||
OutputBaseFilename={#DataDir}_{#MyAppVersion} | ||
; Compression=none | ||
Compression=lzma | ||
SolidCompression=yes | ||
LZMAUseSeparateProcess=yes | ||
LZMANumBlockThreads=6 | ||
WizardStyle=modern | ||
ArchitecturesAllowed=x64 | ||
ChangesEnvironment=yes | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
|
||
; Things in %CommonProgramFiles%\Palette are made writable by anyone, for local changes and config | ||
[Dirs] | ||
Name: "{commoncf64}\{#MyAppName}"; Permissions: users-modify | ||
|
||
[Files] | ||
Source: "ship\{#DataDir}\*"; DestDir: "{#DataPath}"; Flags: comparetimestamp ignoreversion recursesubdirs createallsubdirs | ||
|
||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Registry] | ||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \ | ||
ValueType: expandsz; ValueName: "PALETTE_DATA_PATH"; ValueData: "{#DataPath}"; Flags: preservestringtype | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#include "environment.iss" | ||
|
||
#define MyAppName "data_omnisphere" | ||
#define MyAppVersion "SUBSTITUTE_VERSION_HERE" | ||
#define MyAppPublisher "Nosuch Media" | ||
#define MyAppURL "https://github.com/vizicist/palette" | ||
#define DataDir "data_omnisphere" | ||
#define DataPath "{commoncf64}/Palette/data_omnisphere" | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
AppId={{443296B2-FB07-4F76-992A-A100D5E51ADF} | ||
AppVersion={#MyAppVersion} | ||
AppName={#MyAppName} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURL} | ||
AppUpdatesURL={#MyAppURL} | ||
DefaultDirName={#DataPath} | ||
DefaultGroupName={#MyAppName} | ||
; Uncomment the following line to run in non administrative install mode (install for current user only.) | ||
;PrivilegesRequired=lowest | ||
OutputBaseFilename={#DataDir}_{#MyAppVersion} | ||
; Compression=none | ||
Compression=lzma | ||
SolidCompression=yes | ||
LZMAUseSeparateProcess=yes | ||
LZMANumBlockThreads=6 | ||
WizardStyle=modern | ||
ArchitecturesAllowed=x64 | ||
ChangesEnvironment=yes | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
|
||
; Things in %CommonProgramFiles%\Palette are made writable by anyone, for local changes and config | ||
[Dirs] | ||
Name: "{commoncf64}\{#MyAppName}"; Permissions: users-modify | ||
|
||
[Files] | ||
Source: "ship\{#DataDir}\*"; DestDir: "{#DataPath}"; Flags: comparetimestamp ignoreversion recursesubdirs createallsubdirs | ||
|
||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Registry] | ||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \ | ||
ValueType: expandsz; ValueName: "PALETTE_DATA_PATH"; ValueData: "{#DataPath}"; Flags: preservestringtype | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#include "environment.iss" | ||
|
||
#define MyAppName "data_omnisphere" | ||
#define MyAppVersion "7.97" | ||
#define MyAppPublisher "Nosuch Media" | ||
#define MyAppURL "https://github.com/vizicist/palette" | ||
#define DataDir "data_omnisphere" | ||
#define DataPath "{commoncf64}/Palette/data_omnisphere" | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
AppId={{443296B2-FB07-4F76-992A-A100D5E51ADF} | ||
AppVersion={#MyAppVersion} | ||
AppName={#MyAppName} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURL} | ||
AppUpdatesURL={#MyAppURL} | ||
DefaultDirName={#DataPath} | ||
DefaultGroupName={#MyAppName} | ||
; Uncomment the following line to run in non administrative install mode (install for current user only.) | ||
;PrivilegesRequired=lowest | ||
OutputBaseFilename={#DataDir}_{#MyAppVersion} | ||
; Compression=none | ||
Compression=lzma | ||
SolidCompression=yes | ||
LZMAUseSeparateProcess=yes | ||
LZMANumBlockThreads=6 | ||
WizardStyle=modern | ||
ArchitecturesAllowed=x64 | ||
ChangesEnvironment=yes | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
|
||
; Things in %CommonProgramFiles%\Palette are made writable by anyone, for local changes and config | ||
[Dirs] | ||
Name: "{commoncf64}\{#MyAppName}"; Permissions: users-modify | ||
|
||
[Files] | ||
Source: "ship\{#DataDir}\*"; DestDir: "{#DataPath}"; Flags: comparetimestamp ignoreversion recursesubdirs createallsubdirs | ||
|
||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Registry] | ||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \ | ||
ValueType: expandsz; ValueName: "PALETTE_DATA_PATH"; ValueData: "{#DataPath}"; Flags: preservestringtype | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sed -e "s/SUBSTITUTE_VERSION_HERE/%version%/" < palette_win_setup.iss > tmp.iss | ||
"c:\Program Files (x86)\Inno Setup 6\ISCC.exe" /Q tmp.iss |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.