Closed Joshix-1 closed 2 years ago
Ok it now works on my amd PC, but I still get the segfault on my Intel laptop
I think I know the problem: When cpu gets replaced with CPUwU the string still contains cpu (ignoring case).
Yes that's it (sorry for using this pr to test things, but I am too lazy to make a new branch)
I think you need to do the same for the gpu and apple replacements
This now doesn't use recursion. When using replace_ignorecase now multiple instances get replaced![2021-10-03_12-58](https://user-images.githubusercontent.com/57299889/135768870-1b7e615f-3528-4c40-87c5-4ffb76897c54.png)
(This could lead to an infinite loop, as the recursion one lead to infinite recursion) .