mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Followup on rbxfpsunlocker read-only fix
also readme badges lol
This commit is contained in:
parent
52313cf2af
commit
b1514cef6b
@ -68,10 +68,7 @@ namespace Bloxstrap.Helpers.Integrations
|
|||||||
if (Directory.Exists(folderLocation))
|
if (Directory.Exists(folderLocation))
|
||||||
{
|
{
|
||||||
CheckIfRunning();
|
CheckIfRunning();
|
||||||
|
Directory.Delete(folderLocation, true);
|
||||||
DirectoryInfo directory = new(folderLocation);
|
|
||||||
directory.Attributes &= ~FileAttributes.ReadOnly;
|
|
||||||
directory.Delete(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -84,7 +81,10 @@ namespace Bloxstrap.Helpers.Integrations
|
|||||||
|
|
||||||
string downloadUrl = releaseInfo.Assets[0].BrowserDownloadUrl;
|
string downloadUrl = releaseInfo.Assets[0].BrowserDownloadUrl;
|
||||||
|
|
||||||
Directory.CreateDirectory(folderLocation);
|
DirectoryInfo directory = new(folderLocation);
|
||||||
|
directory.Create();
|
||||||
|
// i have no idea how the read only flag enables itself but apparently it just does
|
||||||
|
directory.Attributes &= ~FileAttributes.ReadOnly;
|
||||||
|
|
||||||
if (File.Exists(fileLocation))
|
if (File.Exists(fileLocation))
|
||||||
{
|
{
|
||||||
|
10
README.md
10
README.md
@ -1,8 +1,10 @@
|
|||||||
# <img src="https://github.com/pizzaboxer/bloxstrap/raw/main/Images/Bloxstrap.png" width="48"/> Bloxstrap
|
# <img src="https://github.com/pizzaboxer/bloxstrap/raw/main/Images/Bloxstrap.png" width="48"/> Bloxstrap
|
||||||

|
[](https://github.com/pizzaboxer/bloxstrap/blob/main/LICENSE)
|
||||||

|
[](https://github.com/pizzaboxer/bloxstrap/actions)
|
||||||

|
[](https://github.com/pizzaboxer/bloxstrap/releases)
|
||||||

|
[](https://github.com/pizzaboxer/bloxstrap/releases/latest)
|
||||||
|

|
||||||
|
[](https://github.com/pizzaboxer/bloxstrap/stargazers)
|
||||||
|
|
||||||
An open-source, feature-packed alternative bootstrapper for Roblox.
|
An open-source, feature-packed alternative bootstrapper for Roblox.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user