Sinisterly
[dnSpy 6.1.4]: Custom Title v1.0 - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Computers (https://sinister.ly/Forum-Computers)
+--- Forum: Software & Programs (https://sinister.ly/Forum-Software-Programs)
+--- Thread: [dnSpy 6.1.4]: Custom Title v1.0 (/Thread-dnSpy-6-1-4-Custom-Title-v1-0)



[dnSpy 6.1.4]: Custom Title v1.0 - miso - 04-16-2020

mod by me
dnSpy made by 0xd4d (links to dnSpy repository)

How to use
Create a file named "c_title.ini" in the same folder as the patched .exe, the first line of the file will be the title loaded in the file
To load the original title, delete the "c_title.ini"
To update the title, restart the app



[Image: UkzRZfNsQy6gLFrjoJSzDg.png]
Source Code


dnSpy.exe/dnSpy.MainApp.AppWindow.UpdateTitle()
Code:
if (File.Exists("c_title.ini")) {   string[] c_title = File.ReadAllLines("c_title.ini");   this.mainWindow.Title = c_title[0];   return; } this.mainWindow.Title = this.GetDefaultTitle();