diff --git a/LICENSE b/LICENSE index fa68cf3..e89b6eb 100644 --- a/LICENSE +++ b/LICENSE @@ -3,7 +3,7 @@ Business Source License 1.1 Parameters Licensor: aiplugs (@iwate) -Licensed Work: poshapp(v.0.9.41) +Licensed Work: poshapp(v.0.9.42) The Licensed Work is (c) 2020 aiplugs. Additional Use Grant: You may make use of the Licensed Work, provided that you may not use the Licensed Work for a Software @@ -14,7 +14,7 @@ Additional Use Grant: You may make use of the Licensed Work, provided that contractors) to access the functionality of the Licensed Work. -Change Date: 2023-06-23 +Change Date: 2023-06-25 Change License: Apache License, Version 2.0 diff --git a/src/Aiplugs.PoshApp/ElectronIpc.cs b/src/Aiplugs.PoshApp/ElectronIpc.cs index 6cfbedf..d6c0bdf 100644 --- a/src/Aiplugs.PoshApp/ElectronIpc.cs +++ b/src/Aiplugs.PoshApp/ElectronIpc.cs @@ -141,6 +141,21 @@ public static void Setup(ScriptsService scriptsService) await Electron.Shell.OpenExternalAsync("https://poshapp.aiplugs.com/licenses"); }); + Electron.IpcMain.On("open-docs", async (url) => + { + await Electron.Shell.OpenExternalAsync("https://github.com/aiplugs/poshapp/wiki"); + }); + + Electron.IpcMain.On("open-issues", async (url) => + { + await Electron.Shell.OpenExternalAsync("https://github.com/aiplugs/poshapp/issues"); + }); + + Electron.IpcMain.On("open-releases", async (url) => + { + await Electron.Shell.OpenExternalAsync("https://github.com/aiplugs/poshapp/releases"); + }); + Electron.IpcMain.On("open-repository-dir", async (name) => { var repository = await scriptsService.GetRepository(name.ToString()); diff --git a/src/Aiplugs.PoshApp/Views/Shared/Index.cshtml b/src/Aiplugs.PoshApp/Views/Shared/Index.cshtml index 05d2795..287c525 100644 --- a/src/Aiplugs.PoshApp/Views/Shared/Index.cshtml +++ b/src/Aiplugs.PoshApp/Views/Shared/Index.cshtml @@ -54,6 +54,7 @@ + diff --git a/src/Aiplugs.PoshApp/Views/Shared/Pages/Index.cshtml b/src/Aiplugs.PoshApp/Views/Shared/Pages/Index.cshtml new file mode 100644 index 0000000..bb681df --- /dev/null +++ b/src/Aiplugs.PoshApp/Views/Shared/Pages/Index.cshtml @@ -0,0 +1,40 @@ + + + \ No newline at end of file diff --git a/src/Aiplugs.PoshApp/electron.manifest.json b/src/Aiplugs.PoshApp/electron.manifest.json index 85bbe80..0df059f 100644 --- a/src/Aiplugs.PoshApp/electron.manifest.json +++ b/src/Aiplugs.PoshApp/electron.manifest.json @@ -11,7 +11,7 @@ "appId": "com.aiplugs.poshapp", "productName": "POSH App", "copyright": "Copyright © 2019", - "buildVersion": "0.9.41", + "buildVersion": "0.9.42", "compression": "maximum", "generateUpdatesFilesForAllChannels": true, "directories": { diff --git a/src/Aiplugs.PoshApp/wwwroot/icon/poshapp-icon-grey.png b/src/Aiplugs.PoshApp/wwwroot/icon/poshapp-icon-grey.png new file mode 100644 index 0000000..c775269 Binary files /dev/null and b/src/Aiplugs.PoshApp/wwwroot/icon/poshapp-icon-grey.png differ diff --git a/src/Aiplugs.PoshApp/wwwroot/js/router.js b/src/Aiplugs.PoshApp/wwwroot/js/router.js index ae71f78..6f77167 100644 --- a/src/Aiplugs.PoshApp/wwwroot/js/router.js +++ b/src/Aiplugs.PoshApp/wwwroot/js/router.js @@ -1,6 +1,6 @@ export default new VueRouter({ routes: [ - { path: '/', components: { nav: Vue.component('PageNav') } }, + { path: '/', components: { default: Vue.component('TopPage'), nav: Vue.component('PageNav') } }, { path: '/list/:repo/:id', components: { default: Vue.component('ListPage'), nav: Vue.component('PageNav') } }, { path: '/singleton/:repo/:id', components: { default: Vue.component('SingletonPage'), nav: Vue.component('PageNav') } }, { path: '/scripts/', components: { nav: Vue.component('ScriptsNav') } },