Fix structure to allow Github pages to serve web view.
6
.gitignore
vendored
@ -3,6 +3,6 @@ builds/
|
||||
.DS_Store
|
||||
*/.DS_Store
|
||||
|
||||
sources/content/media/*.pdf
|
||||
sources/content/media/*.zip
|
||||
sources/content/media/*.html
|
||||
docs/content/media/*.pdf
|
||||
docs/content/media/*.zip
|
||||
docs/content/media/*.html
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 183 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 128 KiB |
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
2
main.js
@ -52,7 +52,7 @@ app.on('ready', () =>
|
||||
nodeIntegration: false
|
||||
}, width: 950, height: 950, backgroundColor:"#000", minWidth: 587, minHeight: 540, frame:true, autoHideMenuBar: true, icon: __dirname + '/icon.ico'})
|
||||
|
||||
app.win.loadURL(`file://${__dirname}/sources/index.html`)
|
||||
app.win.loadURL(`file://${__dirname}/docs/index.html`)
|
||||
// app.win.toggleDevTools();
|
||||
|
||||
app.win.on('closed', () => {
|
||||
|