You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If the script doesn't automatically add `dotnet` to the path environment variable, run `export PATH=$PATH:$HOME/.dotnet` and add this command to the end of your `.bashrc` file which can be found in your user directory. To edit the `.bashrc` file run, `nano ~/.bashrc` and paste in the arguments. The `.bashrc` file is your configuration file for the bash shell environment.
80
-
81
-
>[!WARNING]
82
-
> You might encounter the error code `0x8007000E` when you try to run the bot. To fix it, run `export DOTNET_GCHeapHardLimit=1C0000000` and also put that command into your `~/.bashrc` file.
83
-
> You'll possibly also get hit with an error message about a "valid ICU package" to fix that, run `export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1` and run the bot again. Or simply add these lines to your `.csproj` file in your project folder:
> Incase the script does not automatically add "dotnet" to path, add `export PATH=$PATH:$HOME/.dotnet` at the end of your `.bashrc` file. Simply, run `nano ~/.bashrc` and paste it in. After which run `source ~/.bashrc` to apply our changes.
81
+
- When trying to run the bot later, we'll encounter errors such as "0x8007000E" and "valid ICU package". To migitage this, we'll add the following to our `.bashrc` as stated in the note.
82
+
```sh
83
+
export DOTNET_GCHeapHardLimit=1C0000000
84
+
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
86
85
```
87
-
88
86
##### Cloud Hosted Code
89
87
90
88
- If you have your code hosted with git or simply are able to download it, get the source code and `cd` into the directory. Example of a git repository on GitHub:
@@ -105,7 +103,7 @@ cd repo
105
103
- Double click on `Phone` or what it is named, then simply copy your project folder from your pc and paste it in there. If you want to keep it in a custom path, remember the path to the project.
106
104
107
105
>[!NOTE]
108
-
> Transferring of files might take a bit. Be sure to not interrupt the process by shutting down or disconnecting your phone
106
+
> Transferring of files might take a bit. Be sure to not interrupt the process by shutting down or disconnecting your phone.
109
107
110
108
- First, we setup Termux storage run, `termux-setup-storage` and then it'll prompt you to give Termux access to your files and folders. Then run, `ls ~/storage/shared` to make sure you have access.
111
109
@@ -117,7 +115,7 @@ cd repo
117
115
>[!TIP]
118
116
> If you don't have a `.bashrc` file in your $HOME, just run `nano $HOME/.bashrc`, save, and exit. Then run the source command again.
119
117
120
-
- Now, we'll move over the source code from our phone to the VM. Simply, run, `mv projectname/$PROOTDISTROFS/debian/root/`.
118
+
- Now, we'll move over the source code from our phone to the VM. Simply, run, `mv projectname/$PROOTDISTROFS/debian/root/`.
121
119
122
120
>[!WARNING]
123
121
> Double-check file paths, as you might accidentally move the wrong files around.
@@ -131,7 +129,7 @@ cd repo
131
129
132
130
#### Profit
133
131
134
-
Bot should be working fine, given you follow appropriate steps. For support or any inquires you can join our discord.
132
+
The bot should be working fine, given you follow appropriate steps. For support or any inquires you can join the [Discord](https://discord.com/invite/2HWta4GXus).
0 commit comments