Skip to content

Commit

Permalink
Major release [v1.0.0.0]
Browse files Browse the repository at this point in the history
  • Loading branch information
o7q committed Jul 19, 2023
1 parent fa7aaee commit c1dfcc1
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 32 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,23 @@ FFmpeg: https://ffmpeg.org

---

# Installation

1. Ensure you have Python 3.9 or newer installed \
You can check your version by typing this command:
```powershell
python --version
```
2. Download the bootstrapper from https://github.com/o7q/Scribe/releases
3. Select your preferred device type (CPU or CUDA) \
You can check your CUDA version by typing this command:
```
nvidia-smi
```
4. Click install and wait for it to complete

---

## **Interface**

<details>
Expand Down
28 changes: 23 additions & 5 deletions src/Scribe/Scribe/Includes/Setup/SetupMenu.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/Scribe/Scribe/Includes/Setup/SetupMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,19 @@ private void InstallButton_Click(object sender, EventArgs e)
Close();
}

private void CloseButton_Click(object sender, EventArgs e)
{
Environment.Exit(0);
}

private void SetupMenu_MouseDown(object sender, MouseEventArgs e)
{
MoveForm(Handle, e);
}

private void DeviceLabel_MouseDown(object sender, MouseEventArgs e)
{
MoveForm(Handle, e);
}
}
}
52 changes: 26 additions & 26 deletions src/Scribe/Scribe/MainMenu.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/Scribe/Scribe/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ private void ProcessModelComboBox_SelectedIndexChanged(object sender, EventArgs

private void ProcessCleanStorageButton_Click(object sender, EventArgs e)
{
ProcessEnableAutoUpdateCheckBox.Checked = false;
willAbort = true;

DialogResult prompt = MessageBox.Show("Are you sure?\n\nThis will delete all storage data that does not have a corresponding media file.\nIt will also clean temporary files.", "", MessageBoxButtons.YesNo);
Expand All @@ -577,7 +578,7 @@ private void ProcessCleanStorageButton_Click(object sender, EventArgs e)
string storeFile = File.ReadAllText(storeFiles[i]);
string[] mediaPath = storeFile.Split('ʃ');

if (!File.Exists(mediaPath[0]))
if (!File.Exists(mediaPath[0]) || mediaPath.Length != 2)
{
File.Delete(storeFiles[i]);
count++;
Expand Down

0 comments on commit c1dfcc1

Please sign in to comment.