WIP: Introduce Electron 5.0.1

This commit is contained in:
Cutls
2019-05-19 19:24:27 +09:00
parent 07e907b599
commit ca12884735
9 changed files with 463 additions and 117 deletions

View File

@@ -15,6 +15,9 @@ function dl(mainWindow, lang_path, base) {
var bit = process.arch;
if (platform != "others") {
updatewin = new BrowserWindow({
webPreferences: {
nodeIntegration:true
},
width: 600,
height: 400,
"transparent": false, // ウィンドウの背景を透過

View File

@@ -51,6 +51,9 @@ function img(mainWindow, dir) {
});
function adobeWindow() {
var window = new BrowserWindow({
webPreferences: {
nodeIntegration:true
},
width: 1000,
height: 750
});

View File

@@ -72,6 +72,9 @@ function templete(lang, mainWindow, packaged, dir) {
label: dict.about[lang], click: function () {
var ver = app.getVersion()
var window = new BrowserWindow({
webPreferences: {
nodeIntegration:true
},
width: 300, height: 460,
"transparent": false, // ウィンドウの背景を透過
"frame": false, // 枠の無いウィンドウ

View File

@@ -72,6 +72,9 @@ function system(mainWindow, dir, lang) {
var ver = app.getVersion()
var window = new BrowserWindow({
webPreferences: {
nodeIntegration:true
},
width: 300,
height: 480,
"transparent": false, // ウィンドウの背景を透過
@@ -100,6 +103,9 @@ function system(mainWindow, dir, lang) {
window_pos = [0, 0]; // デフォルトバリュー
}
var nanowindow = new BrowserWindow({
webPreferences: {
nodeIntegration:true
},
width: 350,
height: 200,
"transparent": false, // ウィンドウの背景を透過