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

Commit

Permalink
feat(add workflow)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricked-dev committed Feb 23, 2022
1 parent 95f70bb commit 6d7466f
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 17 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/flutterci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
# token: ${{ secrets.GITHUB_TOKEN }}

build_windows:
if: startsWith(github.ref, 'refs/tags/v')
needs: test
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -64,13 +66,29 @@ jobs:
- run: make innoinstall
- run: make inno
# - run: make choco
- uses: actions/upload-artifact@v2
# - uses: actions/upload-artifact@v2
# with:
# name: Tmodinstaller-Windows-Bundle
# path: |
# build/installer/TModInstaller-windows-x86_64-setup.exe
# scripts/TModInstaller-windows-x86_64-setup.exe
# scripts/TModInstaller-windows-x86_64-setup.exe.exe
# build/tmodinstaller.*.nupkg
# scripts/Output/TModInstaller-windows-x86_64-setup.exe.exe
# scripts/Output/TModInstaller-windows-x86_64-setup.exe
- name: Release
uses: softprops/action-gh-release@v1
with:
name: Tmodinstaller-Windows-Bundle
path: |
build/installer/tmoadinstaller-windows-x86_64-setup.exe
draft: true
prerelease: false
files: |
build/installer/TModInstaller-windows-x86_64-setup.exe
scripts/TModInstaller-windows-x86_64-setup.exe
scripts/TModInstaller-windows-x86_64-setup.exe.exe
build/tmodinstaller.*.nupkg
scripts/Output/TModInstaller-windows-x86_64-setup.exe.exe
scripts/Output/TModInstaller-windows-x86_64-setup.exe
token: ${{ secrets.GITHUB_TOKEN }}
build_linux:
if: startsWith(github.ref, 'refs/tags/v')
needs: test
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,20 @@ discord: https://discord.gg/wU9kyjdJup

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

![image](https://user-images.githubusercontent.com/72335827/155349272-84136765-4d70-4a11-85d3-cd383158d301.png)
![image](https://user-images.githubusercontent.com/72335827/155349384-749991b6-6e8f-4c49-9e12-54c1f8b40dc0.png)
![image](https://user-images.githubusercontent.com/72335827/155349557-ea1c71a1-c358-41f7-9555-7825361e22da.png)

FeatherClient mod support

![image](https://user-images.githubusercontent.com/72335827/155349779-3d4825cb-b49b-4dc9-98a4-cfbe6f8c07fe.png)



## Flutter guide - Contributing

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

A few resources to get you started if this is your first Flutter project:
Expand Down
30 changes: 18 additions & 12 deletions scripts/windows-setup-creator.iss
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "TModinstaller"
#define MyAppVersion "1.2.0"
#define MyAppName "TModInstaller"
#define MyAppVersion "0.0.1"
#define MyAppPublisher "Tricked-dev"
#define MyAppURL "https://github.com/Tricked-dev/tmodinstaller"
#define MyAppExeName "tmodinstaller.exe"
#define MyAppAssocName MyAppName + " File"
#define MyAppAssocExt ".myp"
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt

[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={{80B901C8-D6FE-494E-8AF7-A2BU440E8644}
AppId={{F63F4164-452B-4A46-B3D0-54DF9B119987}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
Expand All @@ -19,13 +22,12 @@ AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\{#MyAppName}
ChangesAssociations=yes
DisableProgramGroupPage=yes
; Remove the following line to run in administrative install mode (install for all users.)
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=..\build\installer
OutputBaseFilename=TModInstaller-windows-x86_64-setup
SetupIconFile=..\windows\runner\resources\icon.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
Expand All @@ -38,17 +40,21 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{

[Files]
Source: "..\build\windows\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
; Source: "..\build\windows\runner\Release\bitsdojo_window_windows_plugin.lib"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\build\windows\runner\Release\flutter_acrylic_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\build\windows\runner\Release\flutter_windows.dll"; DestDir: "{app}"; Flags: ignoreversion
; Source: "..\build\windows\runner\Release\hotkey_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
; Source: "..\build\windows\runner\Release\libwinmedia.dll"; DestDir: "{app}"; Flags: ignoreversion
; Source: "..\build\windows\runner\Release\libwinmedia_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\build\windows\runner\Release\tmodinstaller.exe"; DestDir: "{app}"; Flags: ignoreversion
; Source: "..\build\windows\runner\Release\tmodinstaller.lib"; DestDir: "{app}"; Flags: ignoreversion
; Source: "..\build\windows\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\build\windows\runner\Release\system_theme_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\build\windows\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\build\windows\runner\Release\window_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\build\windows\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Registry]
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: ""

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Expand Down

0 comments on commit 6d7466f

Please sign in to comment.