Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit 6d7466f

Browse files
committed
feat(add workflow)
1 parent 95f70bb commit 6d7466f

File tree

3 files changed

+53
-17
lines changed

3 files changed

+53
-17
lines changed

.github/workflows/flutterci.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
# token: ${{ secrets.GITHUB_TOKEN }}
5353

5454
build_windows:
55+
if: startsWith(github.ref, 'refs/tags/v')
56+
needs: test
5557
runs-on: windows-latest
5658
steps:
5759
- uses: actions/checkout@v2
@@ -64,13 +66,29 @@ jobs:
6466
- run: make innoinstall
6567
- run: make inno
6668
# - run: make choco
67-
- uses: actions/upload-artifact@v2
69+
# - uses: actions/upload-artifact@v2
70+
# with:
71+
# name: Tmodinstaller-Windows-Bundle
72+
# path: |
73+
# build/installer/TModInstaller-windows-x86_64-setup.exe
74+
# scripts/TModInstaller-windows-x86_64-setup.exe
75+
# scripts/TModInstaller-windows-x86_64-setup.exe.exe
76+
# build/tmodinstaller.*.nupkg
77+
# scripts/Output/TModInstaller-windows-x86_64-setup.exe.exe
78+
# scripts/Output/TModInstaller-windows-x86_64-setup.exe
79+
- name: Release
80+
uses: softprops/action-gh-release@v1
6881
with:
69-
name: Tmodinstaller-Windows-Bundle
70-
path: |
71-
build/installer/tmoadinstaller-windows-x86_64-setup.exe
82+
draft: true
83+
prerelease: false
84+
files: |
85+
build/installer/TModInstaller-windows-x86_64-setup.exe
86+
scripts/TModInstaller-windows-x86_64-setup.exe
87+
scripts/TModInstaller-windows-x86_64-setup.exe.exe
7288
build/tmodinstaller.*.nupkg
73-
89+
scripts/Output/TModInstaller-windows-x86_64-setup.exe.exe
90+
scripts/Output/TModInstaller-windows-x86_64-setup.exe
91+
token: ${{ secrets.GITHUB_TOKEN }}
7492
build_linux:
7593
if: startsWith(github.ref, 'refs/tags/v')
7694
needs: test

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@ discord: https://discord.gg/wU9kyjdJup
44

55
A beautiful mod installer for minecraft supporting custom repositories and more.
66

7+
![image](https://user-images.githubusercontent.com/72335827/155349272-84136765-4d70-4a11-85d3-cd383158d301.png)
8+
![image](https://user-images.githubusercontent.com/72335827/155349384-749991b6-6e8f-4c49-9e12-54c1f8b40dc0.png)
9+
![image](https://user-images.githubusercontent.com/72335827/155349557-ea1c71a1-c358-41f7-9555-7825361e22da.png)
10+
11+
FeatherClient mod support
12+
13+
![image](https://user-images.githubusercontent.com/72335827/155349779-3d4825cb-b49b-4dc9-98a4-cfbe6f8c07fe.png)
14+
15+
16+
717
## Flutter guide - Contributing
818

19+
> Yes the code is terrible and will be fixed at some point!
20+
921
This project is a starting point for a Flutter application.
1022

1123
A few resources to get you started if this is your first Flutter project:

scripts/windows-setup-creator.iss

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
; Script generated by the Inno Setup Script Wizard.
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

4-
#define MyAppName "TModinstaller"
5-
#define MyAppVersion "1.2.0"
4+
#define MyAppName "TModInstaller"
5+
#define MyAppVersion "0.0.1"
66
#define MyAppPublisher "Tricked-dev"
77
#define MyAppURL "https://github.com/Tricked-dev/tmodinstaller"
88
#define MyAppExeName "tmodinstaller.exe"
9+
#define MyAppAssocName MyAppName + " File"
10+
#define MyAppAssocExt ".myp"
11+
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt
912

1013
[Setup]
1114
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
1215
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13-
AppId={{80B901C8-D6FE-494E-8AF7-A2BU440E8644}
16+
AppId={{F63F4164-452B-4A46-B3D0-54DF9B119987}
1417
AppName={#MyAppName}
1518
AppVersion={#MyAppVersion}
1619
;AppVerName={#MyAppName} {#MyAppVersion}
@@ -19,13 +22,12 @@ AppPublisherURL={#MyAppURL}
1922
AppSupportURL={#MyAppURL}
2023
AppUpdatesURL={#MyAppURL}
2124
DefaultDirName={autopf}\{#MyAppName}
25+
ChangesAssociations=yes
2226
DisableProgramGroupPage=yes
2327
; Remove the following line to run in administrative install mode (install for all users.)
2428
PrivilegesRequired=lowest
2529
PrivilegesRequiredOverridesAllowed=dialog
26-
OutputDir=..\build\installer
2730
OutputBaseFilename=TModInstaller-windows-x86_64-setup
28-
SetupIconFile=..\windows\runner\resources\icon.ico
2931
Compression=lzma
3032
SolidCompression=yes
3133
WizardStyle=modern
@@ -38,17 +40,21 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
3840

3941
[Files]
4042
Source: "..\build\windows\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
41-
; Source: "..\build\windows\runner\Release\bitsdojo_window_windows_plugin.lib"; DestDir: "{app}"; Flags: ignoreversion
43+
Source: "..\build\windows\runner\Release\flutter_acrylic_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
4244
Source: "..\build\windows\runner\Release\flutter_windows.dll"; DestDir: "{app}"; Flags: ignoreversion
43-
; Source: "..\build\windows\runner\Release\hotkey_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
44-
; Source: "..\build\windows\runner\Release\libwinmedia.dll"; DestDir: "{app}"; Flags: ignoreversion
45-
; Source: "..\build\windows\runner\Release\libwinmedia_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
46-
Source: "..\build\windows\runner\Release\tmodinstaller.exe"; DestDir: "{app}"; Flags: ignoreversion
47-
; Source: "..\build\windows\runner\Release\tmodinstaller.lib"; DestDir: "{app}"; Flags: ignoreversion
48-
; Source: "..\build\windows\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
45+
Source: "..\build\windows\runner\Release\system_theme_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
46+
Source: "..\build\windows\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
47+
Source: "..\build\windows\runner\Release\window_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
4948
Source: "..\build\windows\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
5049
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
5150

51+
[Registry]
52+
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
53+
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey
54+
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
55+
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
56+
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: ""
57+
5258
[Icons]
5359
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
5460
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

0 commit comments

Comments
 (0)