WIP: Introduce Electron 5.0.1
This commit is contained in:
@@ -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, // ウィンドウの背景を透過
|
||||
|
@@ -51,6 +51,9 @@ function img(mainWindow, dir) {
|
||||
});
|
||||
function adobeWindow() {
|
||||
var window = new BrowserWindow({
|
||||
webPreferences: {
|
||||
nodeIntegration:true
|
||||
},
|
||||
width: 1000,
|
||||
height: 750
|
||||
});
|
||||
|
@@ -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, // 枠の無いウィンドウ
|
||||
|
@@ -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, // ウィンドウの背景を透過
|
||||
|
Reference in New Issue
Block a user