Commit f12e8a66 authored by Supharoek Sudadet's avatar Supharoek Sudadet

Select topic 2 project

parent eb08a15c
/release-builds
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<head> <head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script>window.$ = window.jQuery = require('./js/jquery.min.js');</script>
<script src="./js/jquery.min.js"></script>
</head> </head>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
......
This diff is collapsed.
const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')
let win
function createWindow() {
win = new BrowserWindow({width: 800, height: 600})
win.loadURL(
url.format({
pathname: path.join(__dirname, 'index.html'),
protocol: 'file:', // 'http:'
slashes: true
})
)
win.on('close',() => {
win = null
})
}
app.on('ready', createWindow)
This diff is collapsed.
{
"name": "BMI-Calculator",
"productName": "BMI Calculator",
"version": "0.1.0",
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"package-linux": "electron-packager . BMI-Calculator --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/icons/png/bmi.png --prune=true --out=release-builds"
},
"repository": {
"type": "git",
"url": "http://projectcs.sci.ubu.ac.th/professorj/nodejs-60-2.git"
},
"keywords": [
"My little project."
],
"author": "Yiw",
"license": "ISC",
"devDependencies": {
"electron": "^1.8.2",
"electron-packager": "^11.0.1"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment