Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How the fuck do you install this? #154

Open
hitgub043 opened this issue Jul 6, 2023 · 10 comments
Open

How the fuck do you install this? #154

hitgub043 opened this issue Jul 6, 2023 · 10 comments

Comments

@hitgub043
Copy link

The instructions say to "click the first entry and download the artifact", with a link to some developer forum. The first "entry" there is apparently a bug report, and there's no "artifact" anywhere to be found.

Where's the fucking .exe file?

@sp1ritCS
Copy link
Contributor

If you select a successful CI build, there should be artifacts there:
Bildschirmfoto vom 2023-07-15 10-49-03

however, the last valid artifact is expired by now. You could use the artifact from here: https://github.com/sp1ritCS/notekit/actions/runs/4990659604

@Platorius
Copy link

I'm also trying to install this.

When i go to the page linked from sp1ritCS there is actually nothing to download.

So what do i have to download and how do i install it for Windows ?

@YosypC
Copy link

YosypC commented Oct 8, 2023

The artifacts are all expired. Please update!

@LyesSaadi
Copy link
Contributor

LyesSaadi commented Oct 14, 2023

I rebuilt the artifact, you can find it here (I put it in a drive so it doesn't expire again):
https://drive.proton.me/urls/8CZRASYDVM#DKtvFOQ3nFCR

@asmwarrior
Copy link

I rebuilt the artifact, you can find it here (I put it in a drive so it doesn't expire again): https://drive.proton.me/urls/8CZRASYDVM#DKtvFOQ3nFCR

I have the same issue here. Thanks for sharing the Windows builds.

@asmwarrior
Copy link

One comments about this zip file. Could the exe file(notekit.exe) have an icon?

When I unzip the file, I see a lot of exe files, and all those files has the same icon(like old DOS style icon).

@asmwarrior
Copy link

Another issue I see is that:

Under Windows, I do not see the cursor in the editor. The cursor should indicates where I'm editing
Also, another issue is that I don't know how to open a external markdown file, I mean when I create a new markdown file, I see it is located under the folder <unzip_folder>\notekit_mingw\notekit\notesbase\*.md, but I don't see some menu item open a markdown file under Windows.
I see there is an option to set the "Base directory“ in the "preferences" dialog, but that folder option only let me to select to the root of the hard drive, I mean I could set the folder to "F:", but not "F:\abc".

@sp1ritCS
Copy link
Contributor

One comments about this zip file. Could the exe file(notekit.exe) have an icon?
When I unzip the file, I see a lot of exe files, and all those files has the same icon(like old DOS style icon).

You can create a shortcut for notekit.exe and put that onto your desktop / start menu. Those shortcuts can also have custom icon, but I believe it needs to be an .ico file and we don't ship that.

Under Windows, I do not see the cursor in the editor. The cursor should indicates where I'm editing

Yes, I remember there being such an issue. I think this was due to missing fonts (but not quite sure anymore); try to install the Charter font faces in data/fonts/ and check if the issue still occurs.

Also, another issue is that I don't know how to open a external markdown file, I mean when I create a new markdown file, I see it is located under the folder <unzip_folder>\notekit_mingw\notekit\notesbase\*.md, but I don't see some menu item open a markdown file under Windows.

NoteKit is designed to have a self contained notesbase, it's not really a editor that can edit arbitrary markdown files (mostly due to the fact that the handwriting is stored as a custom format)

I see there is an option to set the "Base directory“ in the "preferences" dialog, but that folder option only let me to select to the root of the hard drive, I mean I could set the folder to "F:", but not "F:\abc".

Wierd. I'm not quite able to understand what your describing (you can switch been different drives but the directory structure is empty?); but try pressing <Ctrl>L to enter the path manually. If that doesn't work you could also set the path in HKCU\\Software\\GSettings\\com\\github\\blackhole89\\notekit.

@asmwarrior
Copy link

asmwarrior commented Feb 22, 2024

One comments about this zip file. Could the exe file(notekit.exe) have an icon?
When I unzip the file, I see a lot of exe files, and all those files has the same icon(like old DOS style icon).

You can create a shortcut for notekit.exe and put that onto your desktop / start menu. Those shortcuts can also have custom icon, but I believe it needs to be an .ico file and we don't ship that.

I think under windows, a ico file should be linked to the exe file as a resource file.

Under Windows, I do not see the cursor in the editor. The cursor should indicates where I'm editing

Yes, I remember there being such an issue. I think this was due to missing fonts (but not quite sure anymore); try to install the Charter font faces in data/fonts/ and check if the issue still occurs.

Where can I find the font file named "Charter font"?
When I looked at the data/fonts folder, I see there are already several files like below:

'Charter Bold Italic.otf'  'Charter Italic.otf'   'Charter license.txt'
'Charter Bold.otf'         'Charter Regular.otf'

Also, another issue is that I don't know how to open a external markdown file, I mean when I create a new markdown file, I see it is located under the folder <unzip_folder>\notekit_mingw\notekit\notesbase\*.md, but I don't see some menu item open a markdown file under Windows.

NoteKit is designed to have a self contained notesbase, it's not really a editor that can edit arbitrary markdown files (mostly due to the fact that the handwriting is stored as a custom format)

OK, I understand this. So, I have already copy some .md file to the folder ``<unzip_folder>\notekit_mingw\notekit\notesbase`, but still I need a way to open the copied markdown file. It is really strange this software does not have a "open" file menu item.

I see there is an option to set the "Base directory“ in the "preferences" dialog, but that folder option only let me to select to the root of the hard drive, I mean I could set the folder to "F:", but not "F:\abc".

Wierd. I'm not quite able to understand what your describing (you can switch been different drives but the directory structure is empty?);

I mean if I select the folder "F:\abc\def", and close the "preferences" dialog, the next time I open the dialog, it shows the "F:" drive, which means I can only set the file path as the drive root folder.

but try pressing <Ctrl>L to enter the path manually. If that doesn't work you could also set the path in HKCU\\Software\\GSettings\\com\\github\\blackhole89\\notekit.

I will try this method later.

Thanks.

@sp1ritCS
Copy link
Contributor

Where can I find the font file named "Charter font"? When I looked at the data/fonts folder, I see there are already several files like below:

'Charter Bold Italic.otf'  'Charter Italic.otf'   'Charter license.txt'
'Charter Bold.otf'         'Charter Regular.otf'

yeah, install those otf files into the system font store (user works probably too)

OK, I understand this. So, I have already copy some .md file to the folder ``<unzip_folder>\notekit_mingw\notekit\notesbase`, but still I need a way to open the copied markdown file. It is really strange this software does not have a "open" file menu item.

The files and sub directories of the base directory should be displayed in the sidebar like so:
Bildschirmfoto vom 2024-02-22 15-30-27
clicking a file should result in the file being opened. I suspect that since you're base directory is incorrectly configured the notes don't show up (but assuming that the base dir is the F: root, it should display all directories within it 🤷🏻‍♂️ )

I mean if I select the folder "F:\abc\def", and close the "preferences" dialog, the next time I open the dialog, it shows the "F:" drive, which means I can only set the file path as the drive root folder.

Huh, thats obviously not supposed to happen. I'm interested to know what the base dir is currently set to.
You might also want to try running notekit with NK_WIN32_DEBUG set. This spawns a ConHost dialog that is attached to stdout and stderr of notekit where some sort of assertion failure is probably getting logged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants