github farag2/Sophia-Script-for-Windows 5.9
27.03.2021

latest releases: 6.7.2, 6.7.1, 6.7.0...
3 years ago

Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.9
5.8...5.9

  • Для граждан СНГ добавил перевод пожертвований с помощью ЮMoney, используя прямой перевод с карты;
  • Updated the UnpinTaskbarEdgeStore function again;
    • Fixed bug when calling this function before UninstallUWPApps breaks the retrieval of the localized UWP apps packages names;
    • Refixed #145;
    • Thanks to iNNOKENTIY21
  • The TempFolders and the OneDrive functions update
    • TempFolders totally rewritten using the MoveFileExA function
    • Now with the MOVEFILE_DELAY_UNTIL_REBOOT flag all unremovable files and folder will be removed after reboot (log off) automatically. After that the temporary scheduled task will create a symobolic link and remove itself;
    • Thanks to @gtumanyan for the tip;
More details
public enum MoveFileFlags
{
	MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004
}

[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags);

public static bool MarkFileDelete (string sourcefile)
{
	return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT);
}
  • Fixed #152;
  • Minor changes.
  • The full changelog for all years can be found here.

Don't miss a new Sophia-Script-for-Windows release

NewReleases is sending notifications on new releases.