Skip to content

Instantly share code, notes, and snippets.

View andrewward2001's full-sized avatar

Andrew Ward andrewward2001

  • Massachusetts / Florida
View GitHub Profile

Arch Linux X-Plane

After a fresh install, X-Plane will silently fail to load on Arch Linux and will simply say "Will init world". Running the executable from a terminal will not log anything that causes the sim not to load and the Log.txt does not show anything either.

This is what I needed to install to make X-Plane run:

sudo pacman -S $(pacman -Ssq noto-fonts)

This command installs all packages starting with noto-fonts. noto-fonts-* does not work.

@andrewward2001
andrewward2001 / index.js
Created May 7, 2018 12:18
sample electron entry point
const {app} = require('electron');
const {BrowserWindow} = require('electron');
const path = require("path");
let mainWindow;
app.on("ready", function () {
mainWindow = new BrowserWindow({width: 500, height: 500, x: 50, y: 50});
mainWindow.loadURL('file://' + path.join(__dirname,'src/index.html'));
html {
animation: fadein 1s ease;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}