<script setup>
// these are imports for the two libraries you need: mupdf, and tauri's filesystem plugin
import * as mupdf from "../../node_modules/mupdf/dist/mupdf.js";
import { readDir, BaseDirectory } from "@tauri-apps/plugin-fs";
// This is the function that fires when you put something into the <input/> element down there, it gets fed the `event.target.files` argument fed by the element and you accept it as the "file" variable in the function scope.
window.openFile = async function openFile(file) {
console.log("OPEN DOCUMENT", file.name);
console.log(file);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CLI: Command Line Interface | |
| GUI: Graphical User Interface | |
| - A way to issue orders by typing in text commands. No clicking here. | |
| Git: A CLI program used for software Source Code and Version Management. Industry-standard, essential to learn. |
OUTDATED, PLEASE GO TO https://bteguide.rtfd.io FOR REFERENCE INSTEAD
Run the .jar and Select Client Install and install. The directory should automatically be configured, so don't touch that.