Skip to content

Commit

Permalink
Version 0.2.2-alpha
Browse files Browse the repository at this point in the history
Fixed hooking buttons in userscript being "finicky" - it would lose the hooks often.

Fixed "Step" printing "No logical steps found." twice.

OSX now has a "listen" script instead of using the SudokuSolverConsoleListen app, which didn't work properly.
  • Loading branch information
dclamage committed May 18, 2021
1 parent 7ab43b9 commit 783f87c
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 151 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,13 @@ jobs:
cd ..
- name: Publish osx-x64
run: dotnet publish ./SudokuSolverConsole/SudokuSolverConsole.csproj --nologo -c Release -r osx-x64 -p:PublishSingleFile=true --self-contained true --no-restore -o publish-osx-x64
- name: Extract OSX tgz
run: |
mkdir ./OSX/Extracted
tar -xf ./OSX/*.tgz -C ./OSX/Extracted
- name: tar osx-x64
run: |
shopt -s dotglob
mkdir package-osx-x64
cp -r ./publish-osx-x64/* ./package-osx-x64
cp -r ./UserScripts/* ./package-osx-x64
cp -r ./OSX/Extracted/* ./package-osx-x64
cp -r ./OSX/* ./package-osx-x64
cd package-osx-x64
tar -cpzf ../SudokuSolver-${{ env.VERSION }}-osx-x64.tar.gz *
cd ..
Expand Down
Binary file removed OSX/SudokuSolverConsoleListen.app.tgz
Binary file not shown.
2 changes: 2 additions & 0 deletions OSX/listen
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
$( dirname "${BASH_SOURCE[0]}" )/SudokuSolverConsole --listen
2 changes: 1 addition & 1 deletion SudokuSolver/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
public static class SudokuSolverVersion
{
public const string version = "0.2.1-alpha";
public const string version = "0.2.2-alpha";
}
}
4 changes: 0 additions & 4 deletions SudokuSolverConsole/WebsocketListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,6 @@ void SendStep(string ipPort, string nonce, Solver solver)
{
StringBuilder stepDescription = new();
var logicResult = solver.StepLogic(stepDescription, true);
if (stepDescription.Length == 0)
{
stepDescription.Append("No logical steps found.");
}
SendLogicResponse(ipPort, nonce, solver, logicResult, stepDescription);
}

Expand Down
Loading

0 comments on commit 783f87c

Please sign in to comment.