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
fa2b463363
Calculate relative path from absolute paths
...
Seems to work without any kind of workarounds.
2018-06-08 11:36:18 +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
bc43814608
Use references instead of copying values
2018-06-03 12:52:59 +02:00
TheAssassin
54029b53b6
Deploy dependencies for existing files in AppDir
2018-06-03 03:24:29 +02:00
TheAssassin
96f77423d6
Remove util.h from public interface
...
It doesn't belong to the core namespace anyway.
2018-06-02 01:15:07 +02:00
TheAssassin
2bee994f53
Rename icons like <appname>_*.ext to <appname>.ext
...
This allows users to specify multiple icons like
-i app_res1.png -i app_res2.png -i [...]
linuxdeploy can sort them into the right directory structure, and
their name will be equal to the app name (which is most likely equal
to the Icon entry in the desktop file).
2018-06-01 21:52:43 +02:00
TheAssassin
3244f44b9a
Don't overwrite existing files unless explicitly requested
2018-06-01 20:28:32 +02:00
TheAssassin
aa345a3dfe
Initialize all variables
2018-06-01 16:56:28 +02:00
TheAssassin
118b4f2ca2
Improve deployment efficiency
...
This commit introduces a "visited files" list that contains all files
that have already been processed by the deployment operations.
This is similar to the visited node lists many routing algorithms use,
e.g., Dijkstra and its derivatives like A*.
2018-06-01 15:27:08 +02:00
TheAssassin
2760ed2e8a
Improve duplicates check efficiency
...
Use binary search instead of linear search.
2018-06-01 15:15:40 +02:00
TheAssassin
f65ce9a2b1
Improve docs and initialization of containers
2018-06-01 15:12:26 +02:00
TheAssassin
563be1a14c
Improve rpath handling
2018-06-01 15:02:05 +02:00
TheAssassin
8f59b3ef4a
Allow using custom AppRun
...
There's two ways to do this:
- either place an AppRun in the AppDir before calling linuxdeploy
- or use the new --custom-apprun parameter
Also fixes a small naming inconsisteny in the info messages.
2018-06-01 02:55:37 +02:00
TheAssassin
e598536173
Initial commit
2018-05-30 19:21:08 +02:00