PortableApps / Launcher

The PortableApps.com Launcher™ allows developers, publishers and even technical end-user to portablize apps in PortableApps.com Format without needing to write any code.
https://portableapps.com/apps/development/portableapps.com_launcher
GNU General Public License v2.0
43 stars 13 forks source link

JSON #17

Closed xmha97 closed 2 years ago

xmha97 commented 2 years ago

How I can change settings from JSON files? (I want to create portable version of CPod app)

CPodPortable.ini

[FileWrite1]
Type=JSON
File=%PAL:DataDir%\cumulonimbusAppData\user_settings.json
Section=cPodPortableSettings
Key=downloadDirectory
Value=%PAL:DataDir%\offline_episodes

user_settings.json

{"locale":"en","skipAmountForwardShort":10,"skipAmountForward":30,"skipAmountForwardLong":45,"skipAmountBackwardShort":5,"skipAmountBackward":10,"skipAmountBackwardLong":20,"enableWaveformVisualization":true,"autoUpdaterAllowPrerelease":false,"keyboardShortcuts":{"alt+left":"skip-backward","alt+right":"skip-forward","j":"skip-backward","k":"playpause","l":"skip-forward"},"homeDateSeparatorInterval":"none","syncEnable":false,"syncUsername":"","syncPassword":"","syncDeviceID":"DESKTOP-GF57J32-CPod","downloadDirectory":"C:\\Users\\Alireza\\AppData\\Roaming\\cumulonimbus\\offline_episodes","queueAlwaysRemoveUponFinish":false,"queueAutoDownload":false,"darkMode":true,"customScrollbar":true,"globalMediaKeysEnable":false,"taskbarClose":false,"taskbarMinimize":false,"smoothScrolling":false}
JohnTHaller commented 2 years ago

For support questions, please post in the PortableApps.com Development forum. Our Github issues are only for bug reports.