Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;This is what's InkscapePortable.ini uses now:
- [FileWrite4]
- Type=Replace
- File=%PAL:DataDir%\settings\.recently-used.xbel
- Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
- Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
- [FileWrite5]
- Type=Replace
- File=%PAL:DataDir%\settings\.recently-used.xbel
- Find=file:///%PAL:LastDrive%
- Replace=file:///%PAL:Drive%
- ;This is what it would become if we just add LastPortableAppsRootDir
- [FileWrite5]
- Type=Replace
- File=%PAL:DataDir%\settings\.recently-used.xbel
- Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
- Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
- [FileWrite6]
- Type=Replace
- File=%PAL:DataDir%\settings\.recently-used.xbel
- Find=file:///%PAL:LastDrive%%PAL:LastPortableAppsRootDir:ForwardSlash%
- Replace=file:///%PAL:Drive%%PAL:PortableAppsRootDir:ForwardSlash%
- [FileWrite7]
- Type=Replace
- File=%PAL:DataDir%\settings\.recently-used.xbel
- Find=file:///%PAL:LastDrive%
- Replace=file:///%PAL:Drive%
- ;And this is what it could be with ReplaceAll (John's style)
- [FileWrite3]
- Type=ReplaceAll
- File=%PAL:DataDir%\settings\.recently-used.xbel
- Find=file:///LastPortableAppsRootPath:ForwardSlash%
- Replace=file://PortableAppsRootPath:ForwardSlash%
- ;And this is what it could be with ReplaceAll (kAlug's style)
- [FileWrite3]
- Type=ReplaceAll
- File=%PAL:DataDir%\settings\.recently-used.xbel
- Separator=ForwardSlash
- Format=file:///%s
- ;Or using a new section (format specifier maybe?)
- [ReplaceCommonValues]
- %PAL:DataDir%\settings\.recently-used.xbel=ForwardSlash
- ;%PAL:DataDir%\settings\.recently-used.xbel=ForwardSlash:file:///%s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement