Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7db2ad88b3 |
No files matched your search
@@ -339,6 +339,7 @@ jobs:
|
||||
|
||||
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" `
|
||||
"/DMyAppVersion=${{ steps.release_info.outputs.version_name }}" `
|
||||
"/DOutputBaseFilename=TIS_RMS_Client_Setup_${{ steps.release_info.outputs.tag }}" `
|
||||
TIS_RMS_Client.iss
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
@@ -374,7 +375,7 @@ jobs:
|
||||
}
|
||||
|
||||
$apkPath = "build\app\outputs\flutter-apk\app-release.apk"
|
||||
$outputPath = "..\installers\TIS_RMS_Android_Universal.apk"
|
||||
$outputPath = "..\installers\TIS_RMS_Android_Universal_${{ steps.release_info.outputs.tag }}.apk"
|
||||
|
||||
if (-not (Test-Path $apkPath)) {
|
||||
throw "Android build completed without producing $apkPath"
|
||||
@@ -395,9 +396,10 @@ jobs:
|
||||
run: |
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$tag = "${{ steps.release_info.outputs.tag }}"
|
||||
$files = @(
|
||||
"installers\TIS_RMS_Client_Setup.exe",
|
||||
"installers\TIS_RMS_Android_Universal.apk"
|
||||
"installers\TIS_RMS_Client_Setup_$tag.exe",
|
||||
"installers\TIS_RMS_Android_Universal_$tag.apk"
|
||||
)
|
||||
|
||||
foreach ($file in $files) {
|
||||
@@ -425,8 +427,8 @@ jobs:
|
||||
target_commitish: ${{ github.sha }}
|
||||
name: Release ${{ steps.release_info.outputs.tag }}
|
||||
files: |
|
||||
installers/TIS_RMS_Client_Setup.exe
|
||||
installers/TIS_RMS_Android_Universal.apk
|
||||
installers/TIS_RMS_Client_Setup_${{ steps.release_info.outputs.tag }}.exe
|
||||
installers/TIS_RMS_Android_Universal_${{ steps.release_info.outputs.tag }}.apk
|
||||
generate_release_notes: true
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
+4
-4
@@ -12,7 +12,7 @@ The Android application is distributed as a single universal APK supporting both
|
||||
|
||||
| APK File | Architecture | Description |
|
||||
| :--- | :--- | :--- |
|
||||
| **`TIS_RMS_Android_Universal.apk`** | **Universal (32-bit & 64-bit)** | Single standalone installer compatible with all modern and legacy Android devices (Android 7.0+). |
|
||||
| **`TIS_RMS_Android_Universal_v<version>.apk`** | **Universal (32-bit & 64-bit)** | Single standalone installer compatible with all modern and legacy Android devices (Android 7.0+). |
|
||||
|
||||
### Build Command (Flutter):
|
||||
```bash
|
||||
@@ -22,7 +22,7 @@ flutter build apk --release --obfuscate --split-debug-info=build/app/outputs/sym
|
||||
*Output APK located in `frontend/build/app/outputs/flutter-apk/app-release.apk`.*
|
||||
|
||||
### Installation Steps:
|
||||
1. Transfer `TIS_RMS_Android_Universal.apk` to your Android device (via USB, local network share, or download).
|
||||
1. Transfer `TIS_RMS_Android_Universal_v<version>.apk` (e.g. `TIS_RMS_Android_Universal_v1.0.0.apk`) to your Android device (via USB, local network share, or download).
|
||||
2. Tap the `.apk` file in your file manager.
|
||||
3. If prompted, enable **"Install unknown apps"** or **"Allow from this source"** in Android Settings.
|
||||
4. Tap **Install** and open the app.
|
||||
@@ -59,7 +59,7 @@ flutter build windows --release --obfuscate --split-debug-info=build/windows/sym
|
||||
|
||||
### B. Compiling the Windows Inno Setup Installer (`TIS_RMS_Client.iss`)
|
||||
|
||||
The installer script [`frontend/TIS_RMS_Client.iss`](file:///f:/SumbrerongBato/tis_rms_server/frontend/TIS_RMS_Client.iss) packages the app into an ultra-compact standalone setup file (`TIS_RMS_Client_Setup.exe` ~**16.7 MB**).
|
||||
The installer script [`frontend/TIS_RMS_Client.iss`](file:///f:/SumbrerongBato/tis_rms_server/frontend/TIS_RMS_Client.iss) packages the app into an ultra-compact standalone setup file (`TIS_RMS_Client_Setup_v<version>.exe` ~**16.7 MB**).
|
||||
|
||||
#### Features:
|
||||
- **Small File Size (16.7 MB)**: Uses `lzma2/ultra64` solid 64MB dictionary compression.
|
||||
@@ -74,7 +74,7 @@ The installer script [`frontend/TIS_RMS_Client.iss`](file:///f:/SumbrerongBato/t
|
||||
# Using Inno Setup Command Line Compiler (ISCC)
|
||||
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" frontend\TIS_RMS_Client.iss
|
||||
```
|
||||
*The compiled installer will be saved to `installers/TIS_RMS_Client_Setup.exe`.*
|
||||
*The compiled installer will be saved to `installers/TIS_RMS_Client_Setup_v<version>.exe` (e.g., `installers/TIS_RMS_Client_Setup_v1.0.0.exe`).*
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
#ifndef MyAppVersion
|
||||
#define MyAppVersion "1.0.0"
|
||||
#endif
|
||||
#ifndef OutputBaseFilename
|
||||
#define OutputBaseFilename "TIS_RMS_Client_Setup_v" + MyAppVersion
|
||||
#endif
|
||||
#define MyAppPublisher "Talisay Integrated School"
|
||||
#define MyAppURL "https://tis-rms.cc.cd"
|
||||
#define MyAppExeName "frontend.exe"
|
||||
@@ -30,7 +33,7 @@ DisableProgramGroupPage=no
|
||||
|
||||
; Output installer file configuration
|
||||
OutputDir=..\installers
|
||||
OutputBaseFilename=TIS_RMS_Client_Setup
|
||||
OutputBaseFilename={#OutputBaseFilename}
|
||||
SetupIconFile={#MyAppIcon}
|
||||
UninstallDisplayIcon={app}\{#MyAppExeName}
|
||||
UninstallDisplayName={#MyAppName}
|
||||
|
||||
Reference in new issue
Block a user