Skip to content

Commit

Permalink
Fix: Pathing Capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbox committed Jan 9, 2022
1 parent dc5b1d9 commit 088094e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ on:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-18.04, macos-latest]

runs-on: ${{ matrix.os }}

Expand All @@ -27,10 +26,12 @@ jobs:

- name: Install Dependencies (Linux)
run: |
sudo apt-get update
sudo apt-get install pkg-config build-essential
sudo apt-get install cmake make
sudo apt-get install mesa-common-dev libglu1-mesa-dev
if: matrix.os == 'ubuntu-latest'
sudo apt-get install libxkbcommon-x11-0
if: matrix.os == 'ubuntu-18.04'

- name: Install Dependencies (macOS)
run: |
Expand All @@ -39,13 +40,13 @@ jobs:
if: matrix.os == 'macos-latest'

- name: Install node dependencies
run: npm ci
run: npm install

- name: Init packer
run: npx nodegui-packer --init LookingGlass

- name: Build distributions
run: npm run build
run: QT_DEBUG_PLUGINS=1 npm run build

- name: Release
env:
Expand Down
2 changes: 1 addition & 1 deletion src/Clock.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Text, View } from '@nodegui/react-nodegui';
import { format } from 'date-fns';
import React, { useEffect, useState } from 'react';
import fonts from './fonts.js';
import fonts from './fonts';

const clockStyle = `
#clock-wrapper {
Expand Down
2 changes: 1 addition & 1 deletion src/app.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Window, hot, View } from '@nodegui/react-nodegui';
import React from 'react';

import Clock from './Clock.jsx';
import Clock from './Clock';

const minSize = {
width: 500,
Expand Down
4 changes: 2 additions & 2 deletions src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* eslint-disable import/no-import-module-exports */
import { Renderer } from '@nodegui/react-nodegui';
import React from 'react';
import App from './App.jsx';
import App from './app';

process.title = 'Looking Glass';
Renderer.render(<App />);
// This is for hot reloading (this will be stripped off in production by webpack)
if (module.hot) {
module.hot.accept(['./App'], () => {
module.hot.accept(['./app'], () => {
Renderer.forceUpdate();
});
}

0 comments on commit 088094e

Please sign in to comment.