Skip to content

Commit

Permalink
Merge pull request #12 from cohstats/master
Browse files Browse the repository at this point in the history
Fixed signature in updater api and changed public and private key for testing reasons
  • Loading branch information
JohannesMerkt committed Mar 4, 2023
2 parents 7d5685c + a0415ce commit 590f946
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 72 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coh3-stats-desktop-app",
"private": true,
"version": "0.0.6",
"version": "0.0.7",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "coh3-stats-desktop-app"
version = "0.0.6"
version = "0.0.7"
description = "A Tauri App"
authors = ["you"]
license = ""
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"package": {
"productName": "Coh3 Stats Desktop App",
"version": "0.0.6"
"version": "0.0.7"
},
"tauri": {
"allowlist": {
Expand Down Expand Up @@ -57,7 +57,7 @@
"updater": {
"active": true,
"endpoints": ["https://dev.coh3stats.com/api/appUpdateRoute"],
"dialog": false,
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IERFNjMzQTcwRjBEQjUwNTUKUldSVlVOdndjRHBqM21pc1BGYndieG03VVZOSGhxdUxPeDNkRkFqaXVpcEMyL2l1WUN6VDNCK1kK"
},
"windows": [
Expand Down
3 changes: 0 additions & 3 deletions src/Game.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import { useGameData } from "./game-data-provider/GameDataProvider"
import { Title, Grid, Button, Loader, Group } from "@mantine/core"
import { PlayerCard } from "./components/PlayerCard"
import { useUpdaterData } from "./updater-provider/UpdaterProvider"

export const Game: React.FC = () => {
const gameData = useGameData()
const updaterData = useUpdaterData()
console.log("gamedata", gameData)
return (
<>
{updaterData.status}
{gameData.logFileFound ? (
<>
<Button onClick={gameData.reloadLogFile}>Reload</Button>
Expand Down
5 changes: 1 addition & 4 deletions src/Providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
import { useLocalStorage } from "@mantine/hooks"
import { useState } from "react"
import { GameDataProvider } from "./game-data-provider/GameDataProvider"
import { UpdaterProvider } from "./updater-provider/UpdaterProvider"

interface ProvidersProps {
children?: React.ReactNode
Expand All @@ -32,9 +31,7 @@ export const Providers: React.FC<ProvidersProps> = ({ children }) => {
withGlobalStyles
withNormalizeCSS
>
<UpdaterProvider>
<GameDataProvider>{children}</GameDataProvider>
</UpdaterProvider>
<GameDataProvider>{children}</GameDataProvider>
</MantineProvider>
</ColorSchemeProvider>
</>
Expand Down
60 changes: 0 additions & 60 deletions src/updater-provider/UpdaterProvider.tsx

This file was deleted.

0 comments on commit 590f946

Please sign in to comment.