Commit Graph

30 Commits

Author SHA1 Message Date
TheAssassin
5374e7ece9 Switch to extracted desktop file library 2018-12-22 23:09:04 +01:00
TheAssassin
78f33a7190 Move linuxdeploy-specific helper out of desktop file class 2018-12-22 23:02:15 +01:00
TheAssassin
d6e6cac6e0 Move libraries into directories following package path 2018-11-10 01:43:36 +01:00
TheAssassin
459c5aad9a Fix use of DesktopFile class 2018-11-09 18:24:16 +01:00
Alexis Lopez Zubieta
5055efdc05 Rename linuxdeploy.cpp and linuxdeploy.h to core.cpp and core.h 2018-11-05 18:33:14 -06:00
Alexis Lopez Zubieta
19ecbb2d70 remove empty line 2018-11-05 16:24:09 -06:00
Alexis Lopez Zubieta
f0bb1fb472 bring empty line back 2018-11-05 15:39:00 -06:00
Alexis Lopez Zubieta
2cdedc252c Replace args::ValueFlagList by vector<string> in deployAppDirRootFiles function signature 2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
1fa90fbd5c Add namespace and prepare unittest 2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
7318d68c96 Move deployAppDirRootFiles function into a separated file to allow unit testing 2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
e5f4755da7 Move deploy AppDir root files into a separated function 2018-11-05 15:12:27 -06:00
TheAssassin
542edaf410 Allow disabling copyright files deployment for debugging 2018-11-04 17:21:36 +01:00
TheAssassin
2f7ad201f1 Don't overwrite existing AppRun
... unless custom AppRun was specified
2018-10-07 00:10:57 +02:00
TheAssassin
88695de067 Fix desktop file filename handling 2018-09-30 21:20:36 +02:00
TheAssassin
0f19458792 Improve error message 2018-09-30 21:11:05 +02:00
TheAssassin
c8d78eb602 Remove --app-name parameter completely
Fixes #19.
2018-09-30 17:12:28 +02:00
TheAssassin
73ecd9d318 Actually copy files before running plugins
Some plugins like the Qt one expect libraries etc. to be deployed
already, like the plugin spec defines. We should try to adhere to the
spec.
2018-09-26 00:36:57 +02:00
TheAssassin
63764e2e18 Show proper version statement 2018-09-03 20:20:16 +02:00
TheAssassin
b550e4da21 Run input plugins before deploying icons and desktop files
The input plugins might even fetch these resources somewhere into the
AppDir, and this way, the user can make use of that.
2018-08-28 23:05:45 +02:00
TheAssassin
5b54db31cc Fix error message 2018-08-28 15:46:35 +02:00
TheAssassin
4a098896a9 Improve plugin related logging 2018-08-28 15:44:17 +02:00
TheAssassin
ec051c3e0c Inform user about wrong usage of plugin parameters 2018-08-28 15:42:26 +02:00
TheAssassin
0741d9441b Offset error message from previous block 2018-08-28 15:41:53 +02:00
TheAssassin
0d60f67da3 Always create basic AppDir structure
Fixes #20.
2018-08-25 23:51:06 +02:00
TheAssassin
e8dee64447 Deprecate --app-name
It's been a useful parameter, but only in some rare edge cases. Instead,
we'll focus more on desktop files, e.g., using the Icon entry contents
for (re)naming icons, etc.
2018-08-25 23:46:13 +02:00
TheAssassin
36c6be95d6 Remove redundant parameters
CC #22
2018-08-25 23:32:14 +02:00
TheAssassin
1035ef726d Fix include path 2018-08-03 01:22:59 +02:00
TheAssassin
b96389a064 Use -n parameter to enhance search for suitable desktop file
In case there's more than a desktop file, the user can specify the
app name using -n <app name>, and linuxdeploy will try to find a
suitable desktop file whose filename starts with the specified app
name.
2018-07-12 18:22:43 +02:00
TheAssassin
df61b059d3 Force deploy libraries specified on the CLI 2018-06-30 23:27:02 +02:00
TheAssassin
b2e2ac9a0f Move main.cpp to more appropriate location 2018-06-28 02:33:48 +02:00