Skip to content

Commit

Permalink
Merge branch 'release' of https://github.com/HoaX7/noteapp into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hoax committed Sep 24, 2024
2 parents f9943ae + 28a3979 commit bc03be6
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest]
platform: [macos-latest, windows-latest]
# platform: [macos-latest, ubuntu-latest, windows-latest]
include:
# - os: ubuntu-latest
Expand Down Expand Up @@ -84,9 +84,4 @@ jobs:
See the assets to download this version and install.
releaseDraft: true
prerelease: false
updaterJsonPreferNsis: true

- name: Verify signature
if: matrix.platform == 'macos-latest'
run: |
codesign -v -vvvv
updaterJsonPreferNsis: true
3 changes: 3 additions & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "noteapp",
"version": "0.0.1",
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"dev": "vite dev",
"build": "vite build",
Expand Down
3 changes: 2 additions & 1 deletion app/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": "noteapp"
"signingIdentity": "noteapp",
"minimumSystemVersion": "10.13"
},
"resources": ["./docs/readme.md"],
"shortDescription": "Perfect for quick notes or detailed plans, stay on top of your day and never lose track of your ideas again!",
Expand Down
2 changes: 1 addition & 1 deletion app/src-tauri/tauri.macos.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"bundle": {
"windows": {
"signCommand": "codesign --deep --force --verbose --sign noteapp %1"
"signCommand": "codesign -s - -f %1"
}
}
}
Expand Down
10 changes: 8 additions & 2 deletions app/src/lib/components/editor/BubbleMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,22 @@
.extendMarkRange("link")
.setLink({
href: link,
target: "_blank",
rel: "noopener noreferrer nofollow"
target: "_blank",
rel: "noopener noreferrer nofollow"
})
.run();
link = "";
showLinkInput = false;
} else if ((e.code === "Backspace" || e.code === "Enter") && link === "") {
unlink();
link = "";
showLinkInput = false;
}
};
$: if (editor?.isActive?.("link")) {
link = editor.getAttributes("link").href || "";
}
</script>

<div bind:this={ref} class={"bg-white rounded-md border shadow-lg flex place-items-center"}>
Expand Down
1 change: 1 addition & 0 deletions installation/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h1 class="mt-8">Installation Guide</h1><p>The latest official installers for macOs and Windows can be found at <a target="_blank" rel="noopener noreferrer nofollow" class="underline text-blue-600" href="https://github.com/HoaX7/noteapp/releases">Github Releases</a>&nbsp;page. Read on for details regarding specific Oses.</p><h2 class="mt-8">MacOs</h2><p>Download the <code class="px-1 bg-gray-200 rounded">DMG</code>&nbsp;file from the <a target="_blank" rel="noopener noreferrer nofollow" class="underline text-blue-600" href="https://github.com/HoaX7/noteapp/releases/tag/app-v0.4.1">Latest Release</a>.</p><p></p><p><strong>Application Signing</strong></p><p><em>Scribe</em>&nbsp;is not signed (due to its cost) so you will need to use a workaround for the first run. Follow these steps to run the app.</p><ul class="px-2 mx-2 my-2"><li class="my-1"><p>Intel Chips: <a target="_blank" rel="noopener noreferrer nofollow" class="underline text-blue-600" href="https://support.apple.com/en-gb/guide/mac-help/mh40616/mac">Open a Mac app from an unidentified developer</a></p></li><li class="my-1"><p>Apple Chips: Try the same steps as Intel and if it still doesn’t work open a terminal and run this command:</p><pre><code>sudo xattr -r -d com.apple.quarantine /Applications/scribe.app</code></pre><p>Not sure what chip your Mac has? <a target="_blank" rel="noopener noreferrer nofollow" class="underline text-blue-600" href="https://support.apple.com/en-us/116943">Here’s how to find out</a>.</p></li></ul><h2 class="mt-8">Windows</h2><p>Download the <code class="px-1 bg-gray-200 rounded">setup.exe</code> file from the <a target="_blank" rel="noopener noreferrer nofollow" class="underline text-blue-600" href="https://github.com/HoaX7/noteapp/releases/tag/app-v0.4.1">Latest Release</a>. Follow through the setup wizard to install the app.</p>
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h1 class="mt-8">Scribe</h1><p>A Simple opensource note taking app perfect for quick notes or detailed plans, stay on top of your day and never lose track of your ideas again.</p><p>This markdown was created using scribe.</p><h2 class="mt-8">Quick notes</h2><p>Press <code class="px-1 bg-gray-200 rounded">Ctrl+Enter</code>, <code class="px-1 bg-gray-200 rounded">Cmd+Enter</code>&nbsp;on Macos from anywhere to jot down notes without having to worry about where to save them. The app will automatically save the contents in a <code class="px-1 bg-gray-200 rounded">quicknotes.md</code>&nbsp;in the selected directory.</p><p>The Quick Note window will not open if the foreground window is on full screen mode on windows.</p><h1 class="mt-8">Settings</h1><p><strong>Note: You must move the files manually to the new save directory.</strong></p><p>All your settings are saved in a<strong> </strong><code class="px-1 bg-gray-200 rounded">settings.toml</code>&nbsp;file.</p><h2 class="mt-8">Windows</h2><p>All notes by default are saved in the installation path under a <code class="px-1 bg-gray-200 rounded">docs</code>&nbsp;folder.</p><p>You can modify the save path by clicking on <code class="px-1 bg-gray-200 rounded">File &gt; Settings</code>.</p><h2 class="mt-8">Macos</h2><p>All notes by default are saved under&nbsp;<code class="px-1 bg-gray-200 rounded">$HOME_DIR/scribe/docs</code>. To modify the save path click on the icon in the menu bar &gt; <code class="px-1 bg-gray-200 rounded">Settings</code>.</p><h1 class="mt-8">Key features</h1><ul class="px-2 mx-2 my-2"><li class="my-1"><p>Built for speed with rust.</p></li><li class="my-1"><p>Close the app and take notes from anywhere.</p></li><li class="my-1"><p>Markdown shortcuts make it easy to format the text while typing.</p><p>To test that, start a new line and type <code class="px-1 bg-gray-200 rounded">#</code> followed by a space to get a heading. Try <code class="px-1 bg-gray-200 rounded">#</code>, <code class="px-1 bg-gray-200 rounded">##</code>, <code class="px-1 bg-gray-200 rounded">###</code>, <code class="px-1 bg-gray-200 rounded">####</code>, <code class="px-1 bg-gray-200 rounded">#####</code>, <code class="px-1 bg-gray-200 rounded">######</code> for different levels.</p></li><li class="my-1"><p>You can also try <code class="px-1 bg-gray-200 rounded">&gt;</code> for blockquotes, <code class="px-1 bg-gray-200 rounded">*</code>, <code class="px-1 bg-gray-200 rounded">-</code> or <code class="px-1 bg-gray-200 rounded">+</code> for bullet lists, or <code class="px-1 bg-gray-200 rounded">`foobar`</code> to highlight code, <code class="px-1 bg-gray-200 rounded">~~tildes~~</code> to strike text, or <code class="px-1 bg-gray-200 rounded">==equal signs==</code> to highlight text,&nbsp;<code class="px-1 bg-gray-200 rounded">(c)</code> to see how it’s converted to a proper © character. You can also try <code class="px-1 bg-gray-200 rounded">-&gt;</code>, <code class="px-1 bg-gray-200 rounded">&gt;&gt;</code>, <code class="px-1 bg-gray-200 rounded">1/2</code>, <code class="px-1 bg-gray-200 rounded">!=</code>, or <code class="px-1 bg-gray-200 rounded">--</code>,&nbsp;<code class="px-1 bg-gray-200 rounded">**</code>&nbsp;for bold and&nbsp;<code class="px-1 bg-gray-200 rounded">_Italic_</code>&nbsp;<em>for italic.</em></p></li><li class="my-1"><p>An inline toolbar is also available when you select text.</p></li><li class="my-1"><p>To refresh the app press <code class="px-1 bg-gray-200 rounded">F5</code>.</p></li></ul><h1 class="mt-8">Roadmap</h1><ul class="px-2 mx-2 my-2"><li class="my-1"><p>Integration with notion.</p></li></ul>
<h1 class="mt-8">Scribe</h1><p>A Simple opensource note taking app perfect for quick notes or detailed plans, stay on top of your day and never lose track of your ideas again.</p><p>This markdown was created using scribe.</p><h2 class="mt-8">Installation</h2><p>Read the installation <a target="_blank" rel="noopener noreferrer nofollow" class="underline text-blue-600" href="https://github.com/HoaX7/noteapp/tree/master/installation">notes</a> for each Oses.</p><h2 class="mt-8">Quick notes</h2><p>Press <code class="px-1 bg-gray-200 rounded">Ctrl+Enter</code>, <code class="px-1 bg-gray-200 rounded">Cmd+Enter</code>&nbsp;on Macos from anywhere to jot down notes without having to worry about where to save them. The app will automatically save the contents in a <code class="px-1 bg-gray-200 rounded">quicknotes.md</code>&nbsp;in the selected directory.</p><p>The Quick Note window will not open if the foreground window is on full screen mode on windows.</p><h1 class="mt-8">Settings</h1><p><strong>Note: You must move the files manually to the new save directory.</strong></p><p>All your settings are saved in a<strong> </strong><code class="px-1 bg-gray-200 rounded">settings.toml</code>&nbsp;file.</p><h2 class="mt-8">Windows</h2><p>All notes by default are saved in the installation path under a <code class="px-1 bg-gray-200 rounded">docs</code>&nbsp;folder.</p><p>You can modify the save path by clicking on <code class="px-1 bg-gray-200 rounded">File &gt; Settings</code>.</p><h2 class="mt-8">Macos</h2><p>All notes by default are saved under&nbsp;<code class="px-1 bg-gray-200 rounded">$HOME_DIR/scribe/docs</code>. To modify the save path click on the icon in the menu bar &gt; <code class="px-1 bg-gray-200 rounded">Settings</code>.</p><h1 class="mt-8">Key features</h1><ul class="px-2 mx-2 my-2"><li class="my-1"><p>Built for speed with rust.</p></li><li class="my-1"><p>Close the app and take notes from anywhere.</p></li><li class="my-1"><p>Markdown shortcuts make it easy to format the text while typing.</p><p>To test that, start a new line and type <code class="px-1 bg-gray-200 rounded">#</code> followed by a space to get a heading. Try <code class="px-1 bg-gray-200 rounded">#</code>, <code class="px-1 bg-gray-200 rounded">##</code>, <code class="px-1 bg-gray-200 rounded">###</code>, <code class="px-1 bg-gray-200 rounded">####</code>, <code class="px-1 bg-gray-200 rounded">#####</code>, <code class="px-1 bg-gray-200 rounded">######</code> for different levels.</p></li><li class="my-1"><p>You can also try <code class="px-1 bg-gray-200 rounded">&gt;</code> for blockquotes, <code class="px-1 bg-gray-200 rounded">*</code>, <code class="px-1 bg-gray-200 rounded">-</code> or <code class="px-1 bg-gray-200 rounded">+</code> for bullet lists, or <code class="px-1 bg-gray-200 rounded">`foobar`</code> to highlight code, <code class="px-1 bg-gray-200 rounded">~~tildes~~</code> to strike text, or <code class="px-1 bg-gray-200 rounded">==equal signs==</code> to highlight text,&nbsp;<code class="px-1 bg-gray-200 rounded">(c)</code> to see how it’s converted to a proper © character. You can also try <code class="px-1 bg-gray-200 rounded">-&gt;</code>, <code class="px-1 bg-gray-200 rounded">&gt;&gt;</code>, <code class="px-1 bg-gray-200 rounded">1/2</code>, <code class="px-1 bg-gray-200 rounded">!=</code>, or <code class="px-1 bg-gray-200 rounded">--</code>,&nbsp;<code class="px-1 bg-gray-200 rounded">**</code>&nbsp;for bold and&nbsp;<code class="px-1 bg-gray-200 rounded">_Italic_</code>&nbsp;<em>for italic.</em></p></li><li class="my-1"><p>An inline toolbar is also available when you select text.</p></li><li class="my-1"><p>To refresh the app press <code class="px-1 bg-gray-200 rounded">F5</code>.</p></li></ul><h1 class="mt-8">Roadmap</h1><ul class="px-2 mx-2 my-2"><li class="my-1"><p>Integration with notion.</p></li></ul>

0 comments on commit bc03be6

Please sign in to comment.