Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
0PandaDEV committed Aug 5, 2024
2 parents 4a1711f + 56106ef commit ac5db4c
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 6 deletions.
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/🐞-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: "\U0001F41E Bug report"
about: Create a report to help us improve
title: ''
labels: Bug
assignees: 0PandaDEV

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Operating system**
Windows or Linux

**Version of Qopy**
0.1.0

**Additional context**
Add any other context about the problem here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/💡-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: "\U0001F4A1 Feature request"
about: Suggest an idea for this project
title: ''
labels: Feature
assignees: 0PandaDEV

---

**Describe your requested feature**
Give as many details as possible
2 changes: 1 addition & 1 deletion GET_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ https://github.com/user-attachments/assets/723f9e07-3190-46ec-9bb7-15dfc112f620

To disable the default clipboard manager popup from windows open Command prompt and run this command
```cmd
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v DisabledHotkeys /t REG_SZ /d V
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System" /v AllowClipboardHistory /t REG_DWORD /d 0 /f
```

After that a restart may be reqired.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Qopy is a fixed clipboard manager designed as a simple alternative to the standa
❌ macOS will probably be not supported if you want something similar on macOS take a look at [Raycast](https://www.raycast.com/) and their clipboard history extension.

## 🚧 Roadmap
- [ ] Setup guide
- [ ] [Setup guide](https://github.com/0PandaDEV/Qopy/blob/main/GET_STARTED.md)
- [ ] Settings https://github.com/0PandaDEV/Qopy/issues/2
- [ ] Option for custom keybind https://github.com/0PandaDEV/Qopy/issues/3
- [ ] Metadata for copied items https://github.com/0PandaDEV/Qopy/issues/5
Expand Down
8 changes: 4 additions & 4 deletions src-tauri/src/updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ pub async fn check_for_updates(app: AppHandle) {
let new_ver = &update.version;
let mut msg = String::new();
msg.extend([
&format!("New Version: {new_ver}\nCurrent Version: {cur_ver}\n\n"),
&format!("{cur_ver} -> {new_ver}\n\n"),
"Would you like to install it now?",
]);

app.dialog()
.message(msg)
.title("Update Available")
.ok_button_label("Yes")
.cancel_button_label("No")
.ok_button_label("Install")
.cancel_button_label("Cancel")
.show(move |response| {
if !response {
return;
Expand All @@ -43,4 +43,4 @@ pub async fn check_for_updates(app: AppHandle) {
println!("Failed to check for updates: {:?}", e);
}
}
}
}

0 comments on commit ac5db4c

Please sign in to comment.