Author Topic: How to make C::B load default.conf from its installation directory as portable ?  (Read 1765 times)

Offline tomay3000

  • Multiple posting newcomer
  • *
  • Posts: 55
Hello,

is it possible to make C::B load default.conf from its installation directory, that is install_dir\AppData\codeblocks\default.conf instead of %appdata%\CodeBlocks\default.conf so I can make it portable in a USB flash drive.

TIA.
« Last Edit: June 12, 2021, 02:04:32 am by tomay3000 »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7149
    • My Best Post
Did you try following the wiki directions?

https://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_How_do_I_make_Code::Blocks_portable.3F

I think that CBLauncher is now part of Code::Blocks; but, I forget how it is used.

Tim S.
« Last Edit: June 12, 2021, 01:41:17 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline tomay3000

  • Multiple posting newcomer
  • *
  • Posts: 55
Did you try following the wiki directions?

https://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_How_do_I_make_Code::Blocks_portable.3F

I think that CBLauncher is now part of Code::Blocks; but, I forget how it is used.

Tim S.

Thank you, that helped.
I had to edit C::B desktop shortcut to make it point to "CbLauncher.exe" instead of "codeblocks.exe".