PureBasic Forum
https://www.purebasic.fr/english/

PureBasic's Compile Folder
https://www.purebasic.fr/english/viewtopic.php?f=3&t=73771
Page 1 of 1

Author:  J. Baker [ Wed Oct 09, 2019 4:29 pm ]
Post subject:  PureBasic's Compile Folder

Avast always scans the "PureBasic_Compilation*.exe" and in return kills the debugger. If compiling multiple files, the number will change. Hence why I used the asterisk.

Now if PureBasic compiled to, "Drive\User\UserName\AppData\Local\Temp\PureBasic\", instead of just the "Temp" folder alone. I could set an exception in Avast for that folder and anything that goes in it. Instead of the executable name, which changes by number, or having to disable Avast.

Thanks! ;)

Author:  mk-soft [ Wed Oct 09, 2019 4:36 pm ]
Post subject:  Re: PureBasic's Compile Folder

It would be nice if you could set the folder completely by yourself

Author:  Fred [ Wed Oct 09, 2019 4:38 pm ]
Post subject:  Re: PureBasic's Compile Folder

Good idea for both

Author:  J. Baker [ Wed Oct 09, 2019 4:43 pm ]
Post subject:  Re: PureBasic's Compile Folder

I didn't realize that you had to restart PureBasic in order for "Create temporary executable in the source directory" to work. The "Apply" button in preferences didn't do what I expected it to. So my "Source Code" folder is now an exception in Avast. Although I do think PureBasic should still have its own folder in "Temp".

Thanks!

Author:  Marc56us [ Wed Oct 09, 2019 4:44 pm ]
Post subject:  Re: PureBasic's Compile Folder

In the meantime some AV can exlude folders by system env name (type SET in cmd.exe to see all)

%temp%\PureBasic_Compilation*.exe
(It's safer than excluding the entire temp directory)

Works in mine AV.

"Create temporary executable in the source directory" works only if you set a new name instead of default name. No need to restart IDE.
%temp% is used only if a name was not defined for source code.

:wink:

Author:  J. Baker [ Wed Oct 09, 2019 4:56 pm ]
Post subject:  Re: PureBasic's Compile Folder

Marc56us wrote:
(It's safer than excluding the entire temp directory)

That would not be good. ;)

Author:  skywalk [ Wed Oct 09, 2019 5:52 pm ]
Post subject:  Re: PureBasic's Compile Folder

Fred wrote:
Good idea for both
Yay, is this coming soon?

Author:  davido [ Wed Oct 09, 2019 8:27 pm ]
Post subject:  Re: PureBasic's Compile Folder

@J. Baker,
Great Idea.
+1

Author:  J. Baker [ Wed Oct 09, 2019 10:56 pm ]
Post subject:  Re: PureBasic's Compile Folder

davido wrote:
@J. Baker,
Great Idea.
+1

Thanks! ;)

Author:  Tenaja [ Thu Oct 10, 2019 6:30 pm ]
Post subject:  Re: PureBasic's Compile Folder

Fred wrote:
Good idea for both

+1. I hope it gets implemented.

In the meantime, I have all of my files in one subfolder (broken down further by projects) so I can exclude that one folder and all contents.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/