summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorgordcaswell <>2016-11-08 07:42:35 +0000
committerJazzyNico <nicoduf@yahoo.fr>2016-11-08 07:42:35 +0000
commit0631af29ac5ea21ede11a6e264ce83a7418a580d (patch)
tree95421135ca384f4bdaa1097e1ecb591e9b8e0f90 /packaging
parent[Bug #1638472] Quadrant points of ellipse/circle fail to snap (as source or t... (diff)
downloadinkscape-0631af29ac5ea21ede11a6e264ce83a7418a580d.tar.gz
inkscape-0631af29ac5ea21ede11a6e264ce83a7418a580d.zip
[Bug #1639081] recently-used.xbel remaining when run portably.
Fixed bugs: - https://launchpad.net/bugs/1639081 (bzr r15227)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini37
1 files changed, 29 insertions, 8 deletions
diff --git a/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini b/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini
index cb4cdaf0e..1a47e090e 100644
--- a/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini
+++ b/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini
@@ -1,12 +1,21 @@
[Launch]
ProgramExecutable=Inkscape\inkscape.exe
DirectoryMoveOK=yes
+SupportsUNC=yes
+
+[Activate]
+Ghostscript=find
[Environment]
INKSCAPE_PORTABLE_PROFILE_DIR=%PAL:DataDir%\settings
HOME=%PAL:DataDir%\settings
APPDATA=%PAL:DataDir%\settings
LANG=%PAL:LanguageCustom%
+PYTHONHOME=%PAL:AppDir%\Inkscape\python
+PATH=%PATH%
+
+[FilesMove]
+recently-used.xbel=%LOCALAPPDATA%
[Language]
Base=%PortableApps.comLocaleglibc%
@@ -29,23 +38,35 @@ Value=%PAL:LanguageCustom%
[FileWrite2]
Type=Replace
File=%PAL:DataDir%\settings\preferences.xml
-Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%
-Replace=%PAL:Drive%%PAL:PackagePartialDir%
+Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
+Replace=%PAL:Drive%%PAL:PackagePartialDir%\
[FileWrite3]
Type=Replace
File=%PAL:DataDir%\settings\preferences.xml
+Find=%PAL:LastPortableAppsBaseDir%\
+Replace=%PAL:PortableAppsBaseDir%\
+
+[FileWrite4]
+Type=Replace
+File=%PAL:DataDir%\settings\preferences.xml
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\
-[FileWrite4]
+[FileWrite5]
Type=Replace
File=%PAL:DataDir%\settings\.recently-used.xbel
-Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
-Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
+Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%/
+Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%/
-[FileWrite5]
+[FileWrite6]
+Type=Replace
+File=%PAL:DataDir%\settings\.recently-used.xbel
+Find=file:///%PAL:LastPortableAppsBaseDir:ForwardSlash%/
+Replace=file:///%PAL:PortableAppsBaseDir:ForwardSlash%/
+
+[FileWrite7]
Type=Replace
File=%PAL:DataDir%\settings\.recently-used.xbel
-Find=file:///%PAL:LastDrive%
-Replace=file:///%PAL:Drive% \ No newline at end of file
+Find=file:///%PAL:LastDrive%/
+Replace=file:///%PAL:Drive%/