Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows版をインストーラーにする処理をWorkflowに追加 #35

Merged
merged 38 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
040d15b
feat/add inno setup service in build workflow
eiei114 Jan 15, 2025
850a380
fix build file path
eiei114 Jan 15, 2025
9ca8505
fix/fix iss path setting
eiei114 Jan 15, 2025
ac4c29b
fix build先指定を変更
eiei114 Jan 15, 2025
85182aa
fix ビルドパス修正
eiei114 Jan 15, 2025
c7fc2f1
fix フォルダ階層を出力させる
eiei114 Jan 15, 2025
dcd0f2d
fix ビルドファイルパス
eiei114 Jan 15, 2025
dc928f8
fix ビルド先のパス変更
eiei114 Jan 15, 2025
266aac4
fix issで指定するapp名の修正
eiei114 Jan 15, 2025
cf790de
feat: Installerのバージョンをアプリのバージョンに合わせる
eiei114 Jan 16, 2025
60c6eb5
fix build workflow
eiei114 Jan 16, 2025
22edfe6
fix issファイル変更コマンド修正
eiei114 Jan 16, 2025
f4229b7
fix アプリのバージョンを取得する
eiei114 Jan 16, 2025
335b07f
Merge remote-tracking branch 'origin/develop' into feat/enable_setup_…
eiei114 Jan 16, 2025
a3314ce
fix stepの名前を英語に変更
eiei114 Jan 16, 2025
b901d34
fix アプリバージョンをログに出す
eiei114 Jan 16, 2025
3f0f606
fix: ビルド後にコンフィグをアウトプットするようにした
eiei114 Jan 16, 2025
9b73d71
fix updateしたファイルのコミット
eiei114 Jan 16, 2025
d6e8cd0
Update version and config files after build
actions-user Jan 16, 2025
1366d6a
fix change file name
eiei114 Jan 16, 2025
602bb28
Merge branch 'feat/enable_setup_installer' of https://github.com/Midr…
eiei114 Jan 16, 2025
d42b956
Update version and config files after build
actions-user Jan 16, 2025
c28d065
fix ビルドワークフロー
eiei114 Jan 16, 2025
b55df4e
Update version and config files after build
actions-user Jan 16, 2025
b4850fa
fix iss file
eiei114 Jan 16, 2025
6ea9b3c
Merge branch 'feat/enable_setup_installer' of https://github.com/Midr…
eiei114 Jan 16, 2025
f55c3e2
fix build workflow
eiei114 Jan 16, 2025
60a8430
fix build workflow
eiei114 Jan 16, 2025
29cea6a
fix cat version file
eiei114 Jan 16, 2025
4dcda93
fix change workflow
eiei114 Jan 16, 2025
a687cc1
Update version and config files after build
actions-user Jan 16, 2025
41a596e
fix: バージョンをインストーラー名に含めないことにした
eiei114 Jan 17, 2025
9292dad
Merge remote-tracking branch 'origin/develop' into feat/enable_setup_…
eiei114 Jan 17, 2025
89a4de2
Update PostBuildProcessor.cs
eiei114 Jan 17, 2025
6f8d9a0
fix: 変更を削除
eiei114 Jan 17, 2025
2b06c0a
fix: 不要な空白を削除
eiei114 Jan 17, 2025
f65180e
fix: windows番もビルド物をアップロードするようにした
eiei114 Jan 17, 2025
f6d432b
fix: インストーラー名更新
eiei114 Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,17 @@ jobs:
uses: actions/[email protected]
with:
name: Build-${{ matrix.targetPlatform }}-${{ steps.vars.outputs.sha_short }}
path: build
path: build

- name: Set up Inno Setup
if: matrix.targetPlatform == 'StandaloneWindows64'
uses: Minionguyjpro/[email protected]
with:
path: 'setup.iss'

- name: Upload Installer
if: matrix.targetPlatform == 'StandaloneWindows64'
uses: actions/[email protected]
with:
name: uDesktopMascot_win64_installer
path: "build/uDesktopMascot_win64_installer.exe"
13 changes: 6 additions & 7 deletions setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "uDesktopMascot"
#define MyAppVersion "0.0.4"
#define MyAppPublisher "MidraLab"
#define MyAppURL "https://midralab.github.io/uDesktopMascot/"
#define MyAppExeName "uDesktopMascot.exe"
#define MyAppExeName "StandaloneWindows64.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={{8C3A0DD1-5FD3-4F40-A7AA-5A08F5121022}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVersion=1.0.0
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
Expand All @@ -31,8 +30,8 @@ ArchitecturesInstallIn64BitMode=x64compatible
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only).
;PrivilegesRequired=lowest
OutputDir=Build
OutputBaseFilename=uDesktopMascot_{#MyAppVersion}
OutputDir=build
OutputBaseFilename=uDesktopMascot_win64_installer
SolidCompression=yes
WizardStyle=modern

Expand All @@ -44,8 +43,8 @@ Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "Build\{#MyAppName}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "Build\{#MyAppName}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "build\StandaloneWindows64\StandaloneWindows64.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\StandaloneWindows64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Expand Down
Loading