mirror of
https://github.com/heyman/heynote.git
synced 2025-01-03 04:28:57 +01:00
Add Linux support (#6)
* Add linux AppImage build target * Add ubuntu to Github Actions build matrix * Show help text on how to open Menu, on Linux
This commit is contained in:
parent
41795c14ea
commit
49d3e5cd7d
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -11,8 +11,8 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
#os: [macos-latest, ubuntu-latest, windows-latest]
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
os: [macos-latest, windows-latest]
|
#os: [macos-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
|
@ -46,5 +46,17 @@
|
|||||||
"perMachine": false,
|
"perMachine": false,
|
||||||
"allowToChangeInstallationDirectory": true,
|
"allowToChangeInstallationDirectory": true,
|
||||||
"deleteAppDataOnUninstall": false
|
"deleteAppDataOnUninstall": false
|
||||||
|
},
|
||||||
|
|
||||||
|
linux: {
|
||||||
|
synopsis: "A dedicated scratchpad for developers",
|
||||||
|
category: "Utility",
|
||||||
|
},
|
||||||
|
appImage: {
|
||||||
|
artifactName: "${productName}_${version}_${arch}.${ext}",
|
||||||
|
},
|
||||||
|
snap: {
|
||||||
|
artifactName: "${productName}_${version}_${arch}.${ext}",
|
||||||
|
publish: ["github"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { isMac, isWindows } from "./detect-platform.js"
|
import { isLinux, isMac, isWindows } from "./detect-platform.js"
|
||||||
|
|
||||||
const modChar = isMac ? "⌘" : "Ctrl"
|
const modChar = isMac ? "⌘" : "Ctrl"
|
||||||
const altChar = isMac ? "⌥" : "Alt "
|
const altChar = isMac ? "⌥" : "Alt "
|
||||||
const windowsShowMenu = isWindows ? `\n${altChar} Show menu` : ""
|
const showMenuHelp = (isWindows || isLinux) ? `\n${altChar} Show menu` : ""
|
||||||
|
|
||||||
export const initialContent = `
|
export const initialContent = `
|
||||||
∞∞∞text
|
∞∞∞text
|
||||||
@ -15,7 +15,7 @@ ${modChar} + Down Goto next block
|
|||||||
${modChar} + Up Goto previous block
|
${modChar} + Up Goto previous block
|
||||||
${modChar} + A Select all text in a note block. Press again to select the whole buffer
|
${modChar} + A Select all text in a note block. Press again to select the whole buffer
|
||||||
${modChar} + ⌥ + Up/Down Add additional cursor above/below
|
${modChar} + ⌥ + Up/Down Add additional cursor above/below
|
||||||
${altChar} + Shift + F Format block content (works for JSON, JavaScript, HTML, CSS and Markdown)${windowsShowMenu}
|
${altChar} + Shift + F Format block content (works for JSON, JavaScript, HTML, CSS and Markdown)${showMenuHelp}
|
||||||
∞∞∞math
|
∞∞∞math
|
||||||
This is a Math block. Here, rows are evaluated as math expressions.
|
This is a Math block. Here, rows are evaluated as math expressions.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user