Changeset 6589
- Timestamp:
- Jan 15, 2018, 12:59:15 PM (3 years ago)
- Location:
- llx-bootmanager-gui/trunk/fuentes/install.llx-bootmanager-gui/usr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
llx-bootmanager-gui/trunk/fuentes/install.llx-bootmanager-gui/usr/bin/llx-bootmanager-gui
r427 r6589 1 1 #!/bin/bash 2 node-webkit /usr/share/llx-bootmanager-gui 2 #node-webkit /usr/share/llx-bootmanager-gui 3 /usr/bin/nw0.21 /usr/share/llx-bootmanager-gui -
llx-bootmanager-gui/trunk/fuentes/install.llx-bootmanager-gui/usr/share/llx-bootmanager-gui/app/js/main.js
r427 r6589 281 281 } 282 282 283 function deleteFolderRecursive(path) { 284 if (fs.existsSync(path)) { 285 fs.readdirSync(path).forEach(function(file, index){ 286 var curPath = path + "/" + file; 287 if (fs.lstatSync(curPath).isDirectory()) { // recurse 288 deleteFolderRecursive(curPath); 289 } else { // delete file 290 fs.unlinkSync(curPath); 291 } 292 }); 293 fs.rmdirSync(path); 294 } 295 } 283 296 284 297 285 298 $(document).ready(function() { 299 deleteFolderRecursive("/tmp/.chromium_open"); 286 300 var LlxNetBootManager=new LlxNetBootManagerClient(); 287 301 // Bind Event Handlers -
llx-bootmanager-gui/trunk/fuentes/install.llx-bootmanager-gui/usr/share/llx-bootmanager-gui/package.json
r427 r6589 4 4 "window": { 5 5 "title": "LliureX Net Boot Manager", 6 "icon": "/usr/share/icons/lmd-boot-manager.png",6 /* "icon": "/usr/share/icons/lmd-boot-manager.png",*/ 7 7 "width": 400, 8 8 "height": 300, … … 19 19 "plugin": true 20 20 }, 21 "chromium-args": "--ignore-certificate-errors "21 "chromium-args": "--ignore-certificate-errors --user-data-dir='/tmp/.chromium_open'" 22 22 23 23 /*
Note: See TracChangeset
for help on using the changeset viewer.