This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25360dd
commit 996a6ca
Showing
4 changed files
with
93 additions
and
6 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
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 |
---|---|---|
|
@@ -16,6 +16,9 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: tagname | ||
uses: olegtarasov/[email protected] | ||
|
||
- name: Setup Python | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -24,33 +27,57 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Build Windows | ||
run: pyinstaller --clean --noconfirm specs/windows-terminservice.spec | ||
- name: Build Windows GUI | ||
run: pyinstaller --clean --noconfirm specs/windows-terminservice-gui.spec | ||
|
||
- name: Chocolatey install innosetup | ||
uses: crazy-max/[email protected] | ||
with: | ||
# Arguments to pass to Chocolatey | ||
args: install innosetup --install-arguments="'/DIR=../innosetup'" --force | ||
- name: tagname | ||
uses: olegtarasov/[email protected] | ||
- name: Run innosetup | ||
|
||
- name: Innosetup windows-terminservice | ||
# Run innosetup and set application version to git tag | ||
run: ../innosetup/ISCC.exe specs/windows-terminservice.iss /DApplicationVersion=${{ env.GIT_TAG_NAME }} | ||
- name: Zip | ||
- name: Innosetup windows-terminservice-gui | ||
# Run innosetup and set application version to git tag | ||
run: ../innosetup/ISCC.exe specs/windows-terminservice-gui.iss /DApplicationVersion=${{ env.GIT_TAG_NAME }} | ||
|
||
- name: Zip Windows | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
files: dist/ | ||
files: dist/windows-terminservice | ||
dest: vaccipy-windows.zip | ||
- name: Zip Windows gui | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
files: dist/windows-terminservice-gui | ||
dest: vaccipy-windows-gui.zip | ||
|
||
- name: Store windows zip as build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: vaccipy-windows | ||
path: vaccipy-windows.zip | ||
- name: Store windows gui zip as build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: vaccipy-windows-gui | ||
path: vaccipy-windows-gui.zip | ||
|
||
- name: Store windows installer as build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: vaccipy-windows-installer | ||
path: installers/vaccipy_installer.exe | ||
- name: Store windows gui installer as build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: vaccipy-windows-gui-installer | ||
path: installers/vaccipy_gui_installer.exe | ||
|
||
build-linux: | ||
runs-on: ubuntu-latest | ||
|
@@ -72,7 +99,7 @@ jobs: | |
with: | ||
files: dist/ | ||
dest: vaccipy-ubuntu.zip | ||
- name: Store windows build artifact | ||
- name: Store ubuntu build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: vaccipy-ubuntu | ||
|
@@ -90,5 +117,7 @@ jobs: | |
prerelease: false | ||
files: | | ||
vaccipy-windows-installer/vaccipy_installer.exe | ||
vaccipy-windows-gui-installer/vaccipy_gui_installer.exe | ||
vaccipy-windows/vaccipy-windows.zip | ||
vaccipy-windows-gui/vaccipy-windows-gui.zip | ||
vaccipy-ubuntu/vaccipy-ubuntu.zip |
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,55 @@ | ||
; Script generated by the Inno Script Studio Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#define MyAppName "Vaccipy GUI" | ||
|
||
#ifndef ApplicationVersion | ||
#define ApplicationVersion "0.1" | ||
#endif | ||
|
||
#define MyAppPublisher "vaccipy" | ||
#define MyAppURL "https://github.com/iamnotturner/vaccipy" | ||
#define MyAppExeName "windows-terminservice-gui.exe" | ||
|
||
[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={{E8DD1F42-66E8-47F6-8B1F-CBC47CDC78BE} | ||
AppName={#MyAppName} | ||
AppVersion={#ApplicationVersion} | ||
;AppVerName={#MyAppName} {#ApplicationVersion} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURL} | ||
AppUpdatesURL={#MyAppURL} | ||
DefaultDirName={pf}\vaccipy_gui | ||
DisableDirPage=yes | ||
DefaultGroupName={#MyAppName} | ||
OutputDir=../installers | ||
OutputBaseFilename=vaccipy_gui_installer | ||
SetupIconFile=../images/spritze.ico | ||
Compression=lzma | ||
SolidCompression=yes | ||
|
||
[Languages] | ||
Name: "german"; MessagesFile: "compiler:Languages\German.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | ||
|
||
[Files] | ||
Source: "..\dist\windows-terminservice-gui\windows-terminservice-gui.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\dist\windows-terminservice-gui\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Icons] | ||
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | ||
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | ||
|
||
[Dirs] | ||
Name: "{app}\data"; Flags: uninsalwaysuninstall; Permissions: users-modify | ||
Name: "{app}\tools\log"; Flags: uninsalwaysuninstall; Permissions: users-modify |
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