-
Notifications
You must be signed in to change notification settings - Fork 0
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
168f6d5
commit 3206c1a
Showing
14 changed files
with
227 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# AHQ Store Cli | ||
|
||
Do edit the config.json | ||
|
||
The schema has been shown below | ||
|
||
## config.json | ||
|
||
```ts | ||
type Platform = | ||
// Windows Platforms + Updater & UnInstaller Support | ||
| "WindowsZip" | ||
|
||
// Windows Platforms + No Updater Support | ||
| "WindowsInstallerExe" | ||
| "WindowsInstallerMsi" | ||
| "WindowsUWPMsix" | ||
|
||
// Linux Platform + Updater & UnInstaller Support | ||
| "LinuxAppImage"; | ||
type Win32Deps = "VisualCpp" | "AHQStoreAPI" | "Node21" | "Node18"; | ||
type UnixDeps = "AHQStoreAPI" | "Node21" | "Node18"; | ||
|
||
interface ConfigJSON { | ||
[key: string]: { | ||
appId: string; //application id provided by AHQ Store DEVS | ||
appInstalledName: string; //App Start Menu Entry + Desktop Shortcut Name | ||
appDisplayName: string; //App display name | ||
authorId: string; //Your User ID | ||
shortDesc: string; //Short Description (max 48words) | ||
description: string; //MultiLine App Description | ||
repo: { | ||
author: string; //Your GitHub username | ||
repo: string; //Repo URL | ||
}; | ||
finder: { | ||
windowsFinder?: { | ||
startsWith?: string; // The Windows Bundled app should startWith? | ||
contains?: string; // The Windows Bundled app should include? | ||
endsWith?: string; // The Windows Bundled app should endWith? | ||
}; | ||
linuxFinder?: { | ||
startsWith?: string; // The Linux Bundled app should startWith? | ||
contains?: string; // The Linux Bundled app should include? | ||
endsWith?: string; // The Linux Bundled app should endWith? | ||
}; | ||
}; | ||
platform: { | ||
win32Platform?: Platform; // What type of binary does your app provide to AHQ Store | ||
linuxPlatform?: Platform; // <-- Same as win32Platform --> | ||
win32Options?: { | ||
deps: Win32Deps[]; // Win32 Custom Deps | ||
zip_file_exec?: string; // Exe to Link via our installer (WindowsZIP) | ||
exe_installer_args?: string[]; // Args to run to your custom installer (WindowsInstallerExe) | ||
}; | ||
linuxOptions?: { | ||
deps: UnixDeps[]; // Linux Custom Deps | ||
}; | ||
}; | ||
}; | ||
} | ||
``` | ||
|
||
## icon.png | ||
|
||
Your application icon that'll be bundled in the app metadata file | ||
|
||
## images/<app-id>/\* | ||
|
||
Place any image(s) [upto 10] that will be placed in the app modal in AHQ Store |
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,66 @@ | ||
{ | ||
"U4StnJPm5ssnwpDZHZn4": { | ||
"appId": "U4StnJPm5ssnwpDZHZn4", | ||
"appShortcutName": "Electron (Sample Application)", | ||
"appDisplayName": "Test Electron App", | ||
"authorId": "1", | ||
"description": "A Test Electron Application", | ||
"repo": { | ||
"author": "ahqstore", | ||
"repo": "sample-app" | ||
}, | ||
"platform": { | ||
"installType": "Both", | ||
"win32Platform": "WindowsZip", | ||
"linuxPlatform": "LinuxAppImage", | ||
"win32Options": { | ||
"deps": [], | ||
"zip_file_exec": "electron.exe", | ||
"exe_installer_args": [] | ||
}, | ||
"linuxOptions": {} | ||
}, | ||
"finder": { | ||
"windowsAmd64Finder": { | ||
"startsWith": "electron", | ||
"endsWith": "-win.zip" | ||
}, | ||
"linuxAmd64Finder": { | ||
"startsWith": "electron-", | ||
"endsWith": ".AppImage" | ||
} | ||
} | ||
}, | ||
"jIvEpRUUzlqFWC2Wb404": { | ||
"appId": "jIvEpRUUzlqFWC2Wb404", | ||
"appShortcutName": "Tauri (Sample Application)", | ||
"appDisplayName": "Test Tauri App", | ||
"authorId": "1", | ||
"description": "A Test Tauri Application", | ||
"repo": { | ||
"author": "ahqstore", | ||
"repo": "sample-app" | ||
}, | ||
"platform": { | ||
"installType": "Both", | ||
"win32Platform": "WindowsInstallerMsi", | ||
"linuxPlatform": "LinuxAppImage", | ||
"win32Options": { | ||
"deps": [], | ||
"zip_file_exec": "", | ||
"exe_installer_args": [] | ||
}, | ||
"linuxOptions": {} | ||
}, | ||
"finder": { | ||
"windowsAmd64Finder": { | ||
"contains": "Tauri", | ||
"endsWith": ".msi" | ||
}, | ||
"linuxAmd64Finder": { | ||
"startsWith": "sample-tauri-app", | ||
"endsWith": ".AppImage" | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
|
@@ -31,6 +31,6 @@ | |
"octokit": "^4.0.2" | ||
}, | ||
"devDependencies": { | ||
"@ahqstore/cli": "^0.5.4" | ||
"@ahqstore/cli": "^0.6.0" | ||
} | ||
} |
Oops, something went wrong.