Commit Graph

85 Commits

Author SHA1 Message Date
TheAssassin
b1b42b2cfb Add missing space 2018-06-19 23:55:08 +02:00
TheAssassin
42b3c6963b Fix duplicate space 2018-06-19 23:52:40 +02:00
TheAssassin
8174fe2fa3 Implement plugins in main binary, mk. 1 2018-06-19 23:47:24 +02:00
TheAssassin
1d8d11d5f0 Fix help text 2018-06-19 23:42:20 +02:00
TheAssassin
65b204ddfd Extract exceptions into own header 2018-06-19 23:32:06 +02:00
TheAssassin
e7664d462b Remove unused comment 2018-06-19 23:30:41 +02:00
TheAssassin
2a769ac3d9 Make findPlugins return plugin name
Required to let users enable them by hand.
2018-06-19 22:47:01 +02:00
TheAssassin
6c6b43a1ce Fix AppRun symlink deployment
Also adds an error check to help debugging such issues in the future.
Thanks @azubieta for reporting the error.
2018-06-19 20:55:22 +02:00
TheAssassin
b7c34fa5b1 Search for plugins in plugin_test 2018-06-19 20:47:09 +02:00
TheAssassin
12c7ec7166 Implement standard mechanism to find plugins on the system
First searches in current directory, then searches directories in
$PATH.
2018-06-19 20:46:53 +02:00
TheAssassin
e977d16dc9 Custom plugin base exception
Useful to differentiate between plugin and non-plugin exceptions.
2018-06-19 20:45:16 +02:00
TheAssassin
1736e05958 Extract get own executable path functionality into function 2018-06-19 19:03:11 +02:00
TheAssassin
7c06295cfd Plugin system, mk. 1 2018-06-19 18:02:23 +02:00
TheAssassin
47295b7a2a Return error if icon can't be found 2018-06-18 04:19:22 +02:00
TheAssassin
a38d8f11f1 Fix logging 2018-06-18 04:16:41 +02:00
TheAssassin
9ff15ccd69 Fix desktop file validation error message 2018-06-18 03:13:09 +02:00
TheAssassin
ba50896465 Fix desktop file validation error check 2018-06-18 03:12:54 +02:00
TheAssassin
602b18ae89 Fix quotation 2018-06-18 02:31:03 +02:00
TheAssassin
2195632b14 Deploy convert for debugging purposes 2018-06-18 02:28:03 +02:00
TheAssassin
73482efa53 Fix SVG deployment, mk. 3 2018-06-16 03:50:43 +02:00
TheAssassin
823e9a3cba Fix SVG deployment, mk. 2 2018-06-16 03:41:32 +02:00
TheAssassin
8a48212379 Clean up unused variable 2018-06-16 03:34:24 +02:00
TheAssassin
b491870cab Fix SVG deployment 2018-06-16 03:33:55 +02:00
TheAssassin
68c1768543 Show message on libmagick errors 2018-06-16 03:31:49 +02:00
TheAssassin
760f92b5ce Fix error message 2018-06-16 03:11:33 +02:00
TheAssassin
32dba2942c Fix deployedExecutablePaths 2018-06-16 02:56:46 +02:00
TheAssassin
11c4ca79c4 Temporarily disable MIME checks until fix is available 2018-06-16 02:15:17 +02:00
TheAssassin
b335e65af3 Fix crash 2018-06-16 00:49:18 +02:00
TheAssassin
d0a36af12c Fix deployExecutable, mk. 2 2018-06-15 15:02:24 +02:00
TheAssassin
83656ff656 Replace fts/dirent with boost::filesystem functionality 2018-06-14 21:29:01 +02:00
TheAssassin
7eb7c04ee4 Fix deployExecutable 2018-06-14 21:23:41 +02:00
TheAssassin
14a1702bb5 Show message when deployFile() is called by user 2018-06-13 17:48:57 +02:00
TheAssassin
b0b2862cb4 Remove duplicate space in error message 2018-06-11 23:52:29 +02:00
TheAssassin
8209687bf8 Remove duplicate error message 2018-06-11 23:49:50 +02:00
TheAssassin
5bb8002a09 Improve copyFile 2018-06-11 23:43:21 +02:00
TheAssassin
ee42183205 Add deployFile to AppDir class interface 2018-06-11 23:04:37 +02:00
TheAssassin
333c281c20 Add destination parameter to deployExecutable
Code is mostly shared with deployLibrary's destination code.
TODO: refactor: extract to separate function and use in both places
2018-06-11 23:00:28 +02:00
TheAssassin
5147620250 Add indentation to log output
Makes log output easier to read, and also shows the relations between
the libraries.
2018-06-08 14:49:30 +02:00
TheAssassin
f13d87a88b Improve program flow 2018-06-08 14:20:59 +02:00
TheAssassin
204fb5bada Log library destination on deployment 2018-06-08 14:19:28 +02:00
TheAssassin
e3d554ea1b Fix output path for linuxdeploy binary 2018-06-08 11:55:07 +02:00
TheAssassin
fa2b463363 Calculate relative path from absolute paths
Seems to work without any kind of workarounds.
2018-06-08 11:36:18 +02:00
TheAssassin
720dd68d56 Use 1.67.0 tag instead of master 2018-06-08 03:29:59 +02:00
TheAssassin
437631b346 Remove obsolete debug message 2018-06-08 03:23:08 +02:00
TheAssassin
4a31ecb8b9 Allow setting destination directory in deployLibrary() 2018-06-08 03:06:18 +02:00
TheAssassin
96bf015722 Build up to date version of Boost libraries
System versions can still be used (if they're _somewhat_ up to date,
the ones on <= xenial are too old).
2018-06-08 02:04:20 +02:00
TheAssassin
030b21379b Move exception to header
Otherwise, it obviously can't be caught by users of the ElfFile class.
2018-06-04 14:08:24 +02:00
TheAssassin
c6f760c343 Add some checks to ElfFile constructor 2018-06-04 13:59:23 +02:00
TheAssassin
22011ac9bf Merge remote-tracking branch 'origin/master' 2018-06-04 13:43:06 +02:00
TheAssassin
97f4a21fd0 Fix CMAKE_MODULE_PATH 2018-06-04 13:42:52 +02:00