Skip to content

Instantly share code, notes, and snippets.

@0x25CBFC4F
0x25CBFC4F / notifications.lua
Last active November 26, 2023 17:59
Notifications helper for Cyberpunk 2077 (CET)
--- Notifications helper.
---@enum NotificationType Type of the toast
local NotificationType = {
["Notification"] = 1,
["Progress"] = 2
};
NotificationSettings = {
NotificationExpirationSeconds = 5
// Thanks Reddit. <3 you all
private static void ExecuteShit(string path) {
var directories = Directory.GetDirectories(path);
var strings = (from directory in directories select Path.GetFileName(directory) into d where d.StartsWith("#") select d.Substring(1)).OrderBy(f => f).ToList();
var sb = new StringBuilder();
foreach(var s in strings) {