Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: tomay3000 on June 12, 2021, 12:58:33 am

Title: How to make C::B load default.conf from its installation directory as portable ?
Post by: tomay3000 on June 12, 2021, 12:58:33 am
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.
Title: Re: How to make C::B load default.conf from its installation directory as portable ?
Post by: stahta01 on June 12, 2021, 01:20:01 am
Did you try following the wiki directions?

https://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_How_do_I_make_Code::Blocks_portable.3F (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.
Title: Re: How to make C::B load default.conf from its installation directory as portable ?
Post by: tomay3000 on June 12, 2021, 02:23:33 am
Did you try following the wiki directions?

https://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_How_do_I_make_Code::Blocks_portable.3F (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".