Skip to content

Commit

Permalink
v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ahqsoftwares committed Sep 6, 2024
1 parent 168f6d5 commit 3206c1a
Show file tree
Hide file tree
Showing 14 changed files with 227 additions and 122 deletions.
70 changes: 70 additions & 0 deletions ._oldahqstore/README.md
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
66 changes: 66 additions & 0 deletions ._oldahqstore/config.json
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.
61 changes: 2 additions & 59 deletions .ahqstore/README.md
Original file line number Diff line number Diff line change
@@ -1,67 +1,10 @@
# 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
};
};
};
}
```
Follows the schema as presented [here](https://docs.rs/ahqstore_cli_rs/latest/ahqstore_cli_rs/shared/struct.IMetadata.html)

## icon.png
## images/<app-id>/icon.png

Your application icon that'll be bundled in the app metadata file

Expand Down
62 changes: 44 additions & 18 deletions .ahqstore/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,39 @@
"repo": "sample-app"
},
"platform": {
"installType": "Both",
"win32Platform": "WindowsZip",
"linuxPlatform": "LinuxAppImage",
"win32Options": {
"deps": [],
"winAmd64Platform": null,
"winArm64Platform": null,
"linuxAmd64Platform": null,
"linuxArm64Platform": null,
"linuxArm32Platform": null,
"androidUniversal": null,
"winAmd64Options": {
"zip_file_exec": "electron.exe",
"exe_installer_args": []
},
"linuxOptions": {}
"winArm64Options": {
"zip_file_exec": null,
"exe_installer_args": []
}
},
"finder": {
"windowsAmd64Finder": {
"startsWith": "electron",
"endsWith": "-win.zip"
},
"windowsArm64Finder": null,
"linuxAmd64Finder": {
"startsWith": "electron-",
"endsWith": ".AppImage"
}
}
},
"linuxArm64Finder": null,
"linuxArm32Finder": null,
"androidUniversalFinder": null
},
"site": null,
"source": null,
"redistributed": null,
"license_or_tos": null
},
"jIvEpRUUzlqFWC2Wb404": {
"appId": "jIvEpRUUzlqFWC2Wb404",
Expand All @@ -42,25 +55,38 @@
"repo": "sample-app"
},
"platform": {
"installType": "Both",
"win32Platform": "WindowsInstallerMsi",
"linuxPlatform": "LinuxAppImage",
"win32Options": {
"deps": [],
"zip_file_exec": "",
"winAmd64Platform": "WindowsInstallerMsi",
"winArm64Platform": null,
"linuxAmd64Platform": "LinuxAppImage",
"linuxArm64Platform": null,
"linuxArm32Platform": null,
"androidUniversal": null,
"winAmd64Options": {
"zip_file_exec": "electron.exe",
"exe_installer_args": []
},
"linuxOptions": {}
"winArm64Options": {
"zip_file_exec": null,
"exe_installer_args": []
}
},
"finder": {
"windowsAmd64Finder": {
"contains": "Tauri",
"startsWith": "Tauri",
"endsWith": ".msi"
},
"windowsArm64Finder": null,
"linuxAmd64Finder": {
"startsWith": "sample-tauri-app",
"endsWith": ".AppImage"
}
}
},
"linuxArm64Finder": null,
"linuxArm32Finder": null,
"androidUniversalFinder": null
},
"site": null,
"source": null,
"redistributed": null,
"license_or_tos": null
}
}
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "main.cjs",
"description": "AHQ Store Electron Project",
"author": "AHQ Store Developers",
"version": "1.3.0",
"version": "1.3.1",
"type": "module",
"homepage": "https://ahqstore.github.io",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"octokit": "^4.0.2"
},
"devDependencies": {
"@ahqstore/cli": "^0.5.4"
"@ahqstore/cli": "^0.6.0"
}
}
Loading

0 comments on commit 3206c1a

Please sign in to comment.