Permalink
Browse files

initial commit of pibakery v2

  • Loading branch information...
davidferguson committed Jun 29, 2018
1 parent ce81d93 commit 9f151e282d84f226b2bc2efe93f8969c491b975b
Showing with 4,917 additions and 4,517 deletions.
  1. +0 −16 .gitignore
  2. +0 −37 .travis.yml
  3. BIN 7z
  4. BIN 7z.exe
  5. +0 −502 7zip-license.txt
  6. +195 −195 COPYING
  7. BIN CommandLineDiskImager/CommandLineDiskImager.exe
  8. +0 −339 CommandLineDiskImager/GPL-2
  9. BIN CommandLineDiskImager/icudt51.dll
  10. BIN CommandLineDiskImager/icuin51.dll
  11. BIN CommandLineDiskImager/icuuc51.dll
  12. BIN CommandLineDiskImager/libgcc_s_dw2-1.dll
  13. BIN CommandLineDiskImager/libstdc++-6.dll
  14. BIN CommandLineDiskImager/libwinpthread-1.dll
  15. +2 −2 app/blockly/blockly.js
  16. +17 −37 app/blocks.js
  17. BIN app/img/load-sd.png
  18. BIN app/img/settings.png
  19. +21 −46 app/index.html
  20. +427 −0 app/index.js
  21. BIN app/open-sans/open-sans-bold-ext.woff2
  22. BIN app/open-sans/open-sans-bold.woff2
  23. BIN app/open-sans/open-sans-light-ext.woff2
  24. BIN app/open-sans/open-sans-light.woff2
  25. BIN app/open-sans/open-sans-normal-ext.woff2
  26. BIN app/open-sans/open-sans-normal.woff2
  27. +49 −0 app/open-sans/open-sans.css
  28. +0 −2,487 app/pibakery.js
  29. +104 −105 app/styles.css
  30. +0 −28 appveyor.yml
  31. +0 −76 elevate.js
  32. +333 −0 lib/blockloader.js
  33. +343 −0 lib/blocks.js
  34. +143 −0 lib/blocktransform.js
  35. +175 −0 lib/blockupdates.js
  36. +135 −0 lib/cmdline-parser.js
  37. +58 −0 lib/elevate.js
  38. +159 −0 lib/imgmanager.js
  39. +122 −0 lib/kpartx.js
  40. +147 −0 lib/multifs.js
  41. +178 −0 lib/rootwriter.js
  42. +801 −0 lib/sdcard.js
  43. +115 −0 lib/settings.js
  44. +574 −0 lib/ui.js
  45. +161 −0 lib/updates.js
  46. +235 −81 main.js
  47. +0 −502 p7zip-license.txt
  48. +25 −29 package.json
  49. +3 −3 pibakery-blocks/info.json
  50. +12 −12 pibakery-blocks/updateupgrade/updateupgrade.json
  51. +7 −8 pibakery-blocks/wifisetup/wifiConnect.py
  52. +2 −0 pibakery-raspbian/README.md
  53. +12 −0 pibakery-raspbian/etc/systemd/system/pibakery.service
  54. +12 −12 {os → pibakery-raspbian}/images.json
  55. +8 −0 pibakery-raspbian/info.json
  56. +15 −0 pibakery-raspbian/lib/systemd/system/lightdm.service
  57. +12 −0 pibakery-raspbian/opt/PiBakery/console-lite.sh
  58. +9 −0 pibakery-raspbian/opt/PiBakery/console.sh
  59. +10 −0 pibakery-raspbian/opt/PiBakery/display.sh
  60. +19 −0 pibakery-raspbian/opt/PiBakery/removeFirst.py
  61. +16 −0 pibakery-raspbian/opt/PiBakery/removeNext.py
  62. +50 −0 pibakery-raspbian/opt/PiBakery/runscripts.sh
  63. +11 −0 pibakery-raspbian/opt/PiBakery/startup.sh
  64. +16 −0 pibakery-raspbian/opt/PiBakery/waitForNetwork.sh
  65. BIN resources/busybox
  66. +45 −0 resources/pibakery-install.sh
  67. +75 −0 resources/pibakery-mount.sh
  68. +10 −0 settings.json
  69. +54 −0 start.js

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
BIN -1.59 MB 7z
Binary file not shown.
BIN -574 KB 7z.exe
Binary file not shown.

This file was deleted.

Oops, something went wrong.
390 COPYING 100755 → 100644

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

This file was deleted.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,40 +1,20 @@
/*
PiBakery - The easiest way to setup a Raspberry Pi
Copyright (C) 2016 David Ferguson
This file is part of PiBakery.
PiBakery is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PiBakery is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with PiBakery. If not, see <http://www.gnu.org/licenses/>.
PiBakery uses Google Blockly which is licensed under the Apache
License Version 2.0, a copy of which can be found in the file
./app/blockly/LICENSE
PiBakery uses Win32DiskImager (Image Writer for Windows) which is
licensed under the GNU General Public License as published by the
Free Software Foundation, version 2 or later, a copy of which can
be found in the file ./CommandLineDiskImager/GPL-2
PiBakery uses p7zip which is licensed under the GNU General Public
License as published by the Free Software Foundation, version 2.1 or
later, a copy of which can be found in the file p7zip-license.txt
PiBakery uses 7zip (7za) which is licensed under the GNU Lesser
General Public License as published by the Free Software Foundation,
version 2.1 or later, a copy of which can be found in the file
7zip-license.txt
*/
* PiBakery 2.0.0 - The easy to use setup tool for Raspberry Pi
* Copyright (C) 2019 David Ferguson <david@pibakery.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
Blockly.Blocks['onboot'] = {
init: function() {
@@ -83,4 +63,4 @@ Blockly.PiBakery['onfirstboot'] = function(block) {
Blockly.PiBakery['onnextboot'] = function(block) {
var code = '_pibakery-onnextboot';
return code;
};
};
BIN +2.47 KB app/img/load-sd.png
Binary file not shown.
BIN +31.6 KB app/img/settings.png
Binary file not shown.
@@ -1,59 +1,38 @@
<!--
PiBakery - The easiest way to setup a Raspberry Pi
Copyright (C) 2016 David Ferguson
This file is part of PiBakery.
PiBakery is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
PiBakery is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
PiBakery. If not, see <http://www.gnu.org/licenses/>.
PiBakery uses Google Blockly which is licensed under the Apache License
Version 2.0, a copy of which can be found in the file ./app/blockly/LICENSE
PiBakery uses Win32DiskImager (Image Writer for Windows) which is licensed
under the GNU General Public License as published by the Free Software
Foundation, version 2 or later, a copy of which can be found in the file
./CommandLineDiskImager/GPL-2
PiBakery uses p7zip which is licensed under the GNU General Public License
as published by the Free Software Foundation, version 2.1 or later, a copy
of which can be found in the file p7zip-license.txt
PiBakery uses 7zip (7za) which is licensed under the GNU Lesser General
Public License as published by the Free Software Foundation, version 2.1 or
later, a copy of which can be found in the file 7zip-license.txt
-->
<html>
<head>
<title>PiBakery</title>
<link href="open-sans/open-sans.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<div id="header">
<div id="logo">PiBakery</div>
<div class="headerBtn" id="flashSD">
<img src="img/write-to-sd.png" id="sdImage" />
<img src="img/write-to-sd.png" class="sdImage" />
<p>Write</p>
</div>
<div class="headerBtn" id="exportRecipe">
<img src="img/export.png" id="sdImage" />
<div class="headerBtn" id="updateSD">
<img src="img/update-sd.png" class="sdImage" />
<p>Update</p>
</div>
<div class="headerBtn" id="loadSD">
<img src="img/load-sd.png" class="sdImage" />
<p>Load</p>
</div>
<div class="headerBtn" id="export">
<img src="img/export.png" class="sdImage" />
<p>Export</p>
</div>
<div class="headerBtn" id="importRecipe">
<img src="img/import.png" id="sdImage" />
<div class="headerBtn" id="import">
<img src="img/import.png" class="sdImage" />
<p>Import</p>
</div>
<!--<div class="headerBtn" id="settings">
<img src="img/settings.png" class="sdImage" />
<p>Settings</p>
</div>-->
</div>
<div class="spinner">
@@ -75,17 +54,13 @@
<block type="onfirstboot" id="onfirstboot"></block>
<block type="onboot"></block>
</category>
<category name="Programs" colour="120" id="software"></category>
<category name="Network" colour="260" id="network"></category>
<category name="Settings" colour="210" id="setting"></category>
<category name="Other" colour="290" id="other"></category>
</xml>
<script src="blockly/blockly.js"></script>
<script src="blockly/pibakery.js"></script>
<script src="blockly/en.js"></script>
<script src="blocks.js"></script>
<script src="pibakery.js"></script>
<script src="index.js"></script>
</body>
</html>
Oops, something went wrong.

0 comments on commit 9f151e2

Please sign in to comment.