Skip to content

Commit b1610c2

Browse files
committed
Remove depreciated remote module
1 parent 3bff9c7 commit b1610c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

template/src/renderer/pages/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
</template>
2424

2525
<script>
26-
import { remote } from 'electron'
2726
import SystemInformation from '@/components/SystemInformation.vue'
2827
2928
export default {
@@ -38,7 +37,7 @@ export default {
3837
},
3938
methods: {
4039
openURL (url) {
41-
remote.shell.openExternal(url)
40+
window.open(url)
4241
}
4342
}
4443
}

0 commit comments

Comments
 (0)