Skip to content

Commit

Permalink
Backup before linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Stelusteee committed Feb 5, 2025
1 parent 4ab9f2e commit 8bbf816
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 62 deletions.
Binary file modified .vs/BombTimer/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file modified .vs/BombTimer/v17/.futdcache.v2
Binary file not shown.
Binary file modified .vs/BombTimer/v17/.suo
Binary file not shown.
73 changes: 11 additions & 62 deletions .vs/BombTimer/v17/DocumentLayout.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,13 @@
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\stelu\\source\\repos\\BombTimer\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|c:\\users\\stelu\\source\\repos\\bombtimer\\bombtimer\\wnd.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|solutionrelative:bombtimer\\wnd.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|c:\\users\\stelu\\source\\repos\\bombtimer\\bombtimer\\wnd.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|solutionrelative:bombtimer\\wnd.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|c:\\users\\stelu\\source\\repos\\bombtimer\\bombtimer\\updatenotifier.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|solutionrelative:bombtimer\\updatenotifier.designer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|c:\\users\\stelu\\source\\repos\\bombtimer\\bombtimer\\updatenotifier.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|solutionrelative:bombtimer\\updatenotifier.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|c:\\users\\stelu\\source\\repos\\bombtimer\\bombtimer\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|solutionrelative:bombtimer\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|c:\\users\\stelu\\source\\repos\\bombtimer\\bombtimer\\wnd.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{3C394F86-AE6C-4D5B-8875-A51878CC3F7C}|BombTimer\\BombTimer.csproj|solutionrelative:bombtimer\\wnd.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
Expand All @@ -30,7 +18,7 @@
"DocumentGroups": [
{
"DockedHeight": 200,
"SelectedChildIndex": 5,
"SelectedChildIndex": 3,
"Children": [
{
"$type": "Bookmark",
Expand All @@ -40,69 +28,30 @@
"$type": "Bookmark",
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "UpdateNotifier.cs",
"DocumentMoniker": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\UpdateNotifier.cs",
"RelativeDocumentMoniker": "BombTimer\\UpdateNotifier.cs",
"ToolTip": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\UpdateNotifier.cs",
"RelativeToolTip": "BombTimer\\UpdateNotifier.cs",
"ViewState": "AgIAAAMAAAAAAAAAAAAAAAgAAAAiAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-08T06:43:27.149Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "UpdateNotifier.Designer.cs",
"DocumentMoniker": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\UpdateNotifier.Designer.cs",
"RelativeDocumentMoniker": "BombTimer\\UpdateNotifier.Designer.cs",
"ToolTip": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\UpdateNotifier.Designer.cs",
"RelativeToolTip": "BombTimer\\UpdateNotifier.Designer.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAACwAAAANAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-08T06:43:11.376Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Wnd.Designer.cs",
"DocumentMoniker": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\Wnd.Designer.cs",
"RelativeDocumentMoniker": "BombTimer\\Wnd.Designer.cs",
"ToolTip": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\Wnd.Designer.cs",
"RelativeToolTip": "BombTimer\\Wnd.Designer.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAO4AAAAsAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-23T18:22:29.753Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Wnd.cs",
"DocumentMoniker": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\Wnd.cs",
"RelativeDocumentMoniker": "BombTimer\\Wnd.cs",
"ToolTip": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\Wnd.cs",
"RelativeToolTip": "BombTimer\\Wnd.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAApAAAAAAAAAA==",
"ViewState": "AgIAAFQAAAAAAAAAAAAUwGAAAAAuAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-13T17:17:34.604Z",
"EditorCaption": ""
"WhenOpened": "2024-11-13T17:17:34.604Z"
},
{
"$type": "Document",
"DocumentIndex": 4,
"DocumentIndex": 0,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\Program.cs",
"RelativeDocumentMoniker": "BombTimer\\Program.cs",
"ToolTip": "C:\\Users\\stelu\\source\\repos\\BombTimer\\BombTimer\\Program.cs",
"RelativeToolTip": "BombTimer\\Program.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAjAAAAAAAAAA==",
"ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAA7AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-15T09:55:17.372Z"
"WhenOpened": "2024-11-15T09:55:17.372Z",
"EditorCaption": ""
}
]
}
Expand Down
3 changes: 3 additions & 0 deletions BombTimer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ static void Main()

// Uninstaller
// Project timer
// Switch to Google Cloud API
// Close the issue
// Add presets like 1 hour or half an hour to f1 f2 or smth
24 changes: 24 additions & 0 deletions BombTimer/Wnd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using SFML.Audio;
using Octokit;
using System.Net;
using System.Diagnostics;
//using System.Diagnostics;

namespace BombTimer
Expand Down Expand Up @@ -72,8 +73,29 @@ public Wnd()
ClientSize = data.wndSize;

ctxMenuStrip.Renderer = new CustomContextMenuRenderer();

/////////////////////////////////////////////////////////

fileWatcher = new FileSystemWatcher();
fileWatcher.Path = @"C:\Users\stelu\Desktop\ASS";
fileWatcher.NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.DirectoryName;
fileWatcher.Filter = "*.*";

fileWatcher.Changed += OnChanged;
fileWatcher.Created += OnChanged;
fileWatcher.Deleted += OnChanged;

fileWatcher.IncludeSubdirectories = true;
fileWatcher.EnableRaisingEvents = true;
}

private void OnChanged(object sender, FileSystemEventArgs e)
{
MessageBox.Show($"File: {e.FullPath} {e.ChangeType}", "File System Watcher");
}

private FileSystemWatcher fileWatcher;

readonly List<string> soundList = new List<string> { "sounds/moveout.wav", "sounds/bombpl.wav", "sounds/com_go.wav", "sounds/letsgo.wav", "sounds/locknload.wav" };
SoundBuffer startBuffer;
Sound startSound = new Sound();
Expand Down Expand Up @@ -240,6 +262,8 @@ private void QuitAction()
string json = JsonConvert.SerializeObject(data, Formatting.Indented);
File.WriteAllText("save.json", json);

fileWatcher.Dispose();

System.Windows.Forms.Application.Exit();
}

Expand Down

0 comments on commit 8bbf816

Please sign in to comment.