Commit graph

75 commits

Author SHA1 Message Date
Jools Wills
5e541d3023 setup - go back to main gui after post_update function 2016-06-19 20:29:30 +01:00
Jools Wills
001488e94d setup - reorg update order so hooks/messages get run from the updated version of the script after reload 2016-06-15 20:17:21 +01:00
Jools Wills
67e335e1e2 modules - _update_hook functionality -
* add _update_hook function support - these get run on updating retropie-setup.
 * add update_hook functions for modules so they show up as installed on retropie-setup 4.x - eg modules that
   previously just apt-get installed a package.
2016-06-15 20:17:21 +01:00
Jools Wills
c69655c9c6 ask to update OS packages when updating 2016-06-15 20:17:21 +01:00
Jools Wills
a70891a2b6 call module depends functions before gui in setup 2016-06-13 16:25:37 +01:00
Jools Wills
9ed3a80fad add notice to display when updating retropie-setup 2016-06-12 02:57:47 +01:00
Jools Wills
8d9f31979c when removing all packages from a section, only remove ones that are actually installed 2016-06-11 22:57:39 +01:00
Jools Wills
a7c0a6103b help improvements
* get rid of _INFMSGS and instead have a rp_module_help field with information in.
   this can then be displayed in the setup menus, and not just after configuring.
2016-06-10 17:32:47 +01:00
Jools Wills
1e3134746e fix help button in packages menu 2016-06-09 18:18:05 +01:00
Jools Wills
a5f70e8714 ask before rebooting 2016-06-09 18:16:48 +01:00
Jools Wills
bb95bd126b setup module improvements -
* add a quick install menu to packages. Change the order of the packages menu and add help.
2016-06-09 17:59:18 +01:00
Jools Wills
e8eceb8a28 setup module -
* use gui in setup functions that have a gui.
 * default to yes for updating retropie-setup script
 * split out update_packages to own function for use via retropie_packages.sh
2016-06-09 17:43:23 +01:00
Jools Wills
b958292a7b improve help text for retropie-setup update 2016-06-09 17:10:55 +01:00
Jools Wills
5fda4d33e0 handle help button in retropie-setup 2016-06-09 15:28:09 +01:00
Jools Wills
6ad7933250 added some documentation to the main retropie-setup script. 2016-06-09 15:25:08 +01:00
Jools Wills
8903c317ba use an internal version number to simplify things (and so it makes more sense after a release if updating) 2016-06-07 16:09:37 +01:00
Jools Wills
adfc99008f show configuration for installed modules with gui functions in the setup / tools menu 2016-06-07 13:01:24 +01:00
Jools Wills
70d3f80b02 additional warning text when removing core packages 2016-06-07 13:01:24 +01:00
Jools Wills
8dd2069660 use config instead of conf 2016-06-06 22:08:36 +01:00
Jools Wills
e5edf01f87 fix updating of packages after updating retropie-setup 2016-06-06 22:08:36 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
609299970d show dialog when lauching retropie-setup telling users that Raspbian Wheezy is no longer supported. 2016-03-24 20:49:03 +00:00
Jools Wills
781345f237 make it even more difficult to accidently uninstall retropie - a special feature for those that "accidently" choose it and press yes twice without noticing! 2016-03-06 11:06:46 +00:00
Jools Wills
40fd81ea5e quoting / don't show output of pushd/popd 2016-02-26 20:18:32 +00:00
Jools Wills
753d6ecc0f make sure we are in the right folder when running git to check version. 2016-02-26 20:12:47 +00:00
Jools Wills
ac6afdd610 select "no" by default to option to remove all dependencies when uninstalling 2016-02-22 20:14:05 +00:00
Jools Wills
9238a7cd79 clear screen after dialogs in uninstall 2016-02-22 15:30:03 +00:00
Jools Wills
b3f7b28ac4 clear screen after choosing option in retropie-setup 2016-02-22 15:29:06 +00:00
Jools Wills
76cc8a3c68 uninstall dependencies last 2016-02-22 15:25:05 +00:00
Jools Wills
bdf2b04c7f added uninstall menu to setup 2016-02-22 15:12:04 +00:00
Jools Wills
53757fea5b added --first-parent when getting last tagged ver as it can show an older tag otherwise 2016-02-17 10:20:48 +00:00
HerbFargus
2bd9b896e2 Add Version Info to Setup Script
Note it only shows the version of your setup script, not necessarily the
version of software installed.
2016-02-17 02:13:06 -07:00
Jools Wills
7ecec5c41b call retropie_packages.sh to install runcommand from updatescript_setup rather than rp_callModule so the latest vesion of the runcommand module is used rather than the currently running one 2016-02-14 10:26:00 +00:00
Jools Wills
d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills
b42a95d89c don't build binaries for snesdev - it doesn't take too long to build, and isn't needed by everyone 2015-10-04 20:20:58 +01:00
Jools Wills
05a665ddf4 install carbon theme by default 2015-10-03 17:18:45 +01:00
Jools Wills
aabca890bd the retropie-setup menu is not just for installation, so make the title more generic 2015-09-11 00:39:48 +01:00
Jools Wills
867328c7c6 install runcommand if an emulator has been installed individually from binary/source 2015-09-11 00:38:29 +01:00
Jools Wills
7acd7d2bb7 don't install bashwelcometweak and set up samba shares by default - for those installing on raspbian, they may not want those changes made.
They can easily be enabled from the supplementary menu as needed by users
2015-09-03 17:28:31 +01:00
Jools Wills
bf1fd72949 missed apt-upgrade call change when doing raspbiantool module #951 2015-08-13 11:15:34 +01:00
Jools Wills
2ae4e16a4b new module for theme installation from RetroPie github repositories 2015-08-13 03:43:35 +01:00
Jools Wills
cc75e24c98 merged aptpackages / disabletimeouts / modules / packagecleanup into a single raspbiantools module
don't edit the screen timeout/blanking by default - those using the image have it already, but those installing on
raspbian may not want this changed - they can manually change it if needed from retropie-setup
remove unused / incomplete packagerepository module
2015-08-13 02:28:05 +01:00
Jools Wills
3c9879a045 increase reported build time for source based installation. Built time may well be even more than stated though - especially on rpi1 2015-08-01 15:33:36 +01:00
HerbFargus
83e10fd007 Reload Setup Script after update automatically.
These changes will make it slightly more convenient when updating the setup script so that people don't have to exit out and then go back in again each time they update the setup script.
2015-07-27 06:58:58 -06:00
Jools Wills
6d5700d8ff text spacing in dialog 2015-07-02 02:16:53 +01:00
Jools Wills
f8d8b9985f use yes/no dialog when displaying recommended disk space for retropie-setup 2015-07-02 02:03:16 +01:00
Jools Wills
a34a13be3d let's update retropie-setup script as $user rather than root. Avoids ending up with mixed ownership of git managed files.
We also chown the contents first, so it doesn't fail.
2015-07-02 01:27:42 +01:00
Jools Wills
a6933a6445 use githubs preferred access protocol - https:// - before we had mixed git:// and http:// around the code 2015-06-16 16:50:37 +01:00
Jools Wills
15e19cd3a5 updated some more github urls to point to RetroPie org 2015-06-16 16:48:25 +01:00