Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
notify for autolaunch (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgunozerk committed Apr 3, 2022
1 parent 0a55293 commit c17450d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { defineComponent } from "vue"
import { globalState as global } from "src/lib/global"
import * as util from "src/lib/util"
import { appConfig } from "src/lib/appConfig"
import { LocalStorage } from "quasar"
import { Notify } from "quasar"
const lang = global.data.loc.text.index
export default defineComponent({
Expand Down Expand Up @@ -66,6 +66,13 @@ export default defineComponent({
firstLoad() {
console.log("INDEX - First Time RUN.")
this.loadNetworkData()
const config = appConfig.getAppConfig()
if (config && config.launchOnBoot == true) {
Notify.create({
message: "Subspace Desktop will be started on boot. You can disable this from settings (the gear icon on top-right).",
icon: "info"
})
}
},
async loadNetworkData() {
await this.client.connectPublicApi()
Expand Down

0 comments on commit c17450d

Please sign in to comment.