krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
902 stars 152 forks source link

Windows support #162

Closed krille-chan closed 22 hours ago

krille-chan commented 11 months ago

Description

I know FluffyChat has a Windows build (somewhere in GitLab or build artifacts), but I understand that it doesn't have automatic updating and isn't officially supported yet as it's not listed on FluffyChat.im. I am not able to find a tracking issue though.

I am aware of the PWA, but considering I clear everything on browser close and may close browser more often than I log out (#596), I would prefer using desktop app without doing anything unsupported.

Doko-Demo-Doa commented 9 months ago

So... is the Windows build working yet? I'm just wondering.

TLCPlusPlus commented 7 months ago

So... is the Windows build working yet? I'm just wondering.

No. It would be in the Releases or at the very least, the website mentioned.

compuguy commented 4 months ago

I've recently been trying to go through the process of building the latest release for windows. It seems to be failing to build the flutter_secure_storage_windows plugin:

[   +2 ms] Done Building Project
"C:\Users\user\git\fluffychat\build\windows\x64\plugins\window_to_front\window_to_front_plugin.vcxproj" (default
targets).
[   +2 ms] Done Building Project "C:\Users\user\git\fluffychat\build\windows\x64\runner\fluffychat.vcxproj" (default
targets) -- FAILED.
[        ] Done Building Project "C:\Users\user\git\fluffychat\build\windows\x64\ALL_BUILD.vcxproj" (default targets) --
FAILED.
[        ] Done Building Project "C:\Users\user\git\fluffychat\build\windows\x64\INSTALL.vcxproj" (default targets) --
FAILED.
[  +11 ms] Build FAILED.
[   +3 ms] "C:\Users\user\git\fluffychat\build\windows\x64\INSTALL.vcxproj" (default target) (1) ->
[        ] "C:\Users\user\git\fluffychat\build\windows\x64\ALL_BUILD.vcxproj" (default target) (3) ->
[        ] "C:\Users\user\git\fluffychat\build\windows\x64\runner\fluffychat.vcxproj" (default target) (10) ->
[        ]
"C:\Users\user\git\fluffychat\build\windows\x64\plugins\flutter_secure_storage_windows\flutter_secure_storage_windows_pl
ugin.vcxproj" (default target) (11) ->
[        ] (ClCompile target) ->
[        ]
C:\Users\user\git\fluffychat\windows\flutter\ephemeral\.plugin_symlinks\flutter_secure_storage_windows\windows\flutter_s
ecure_storage_windows_plugin.cpp(6,10): error C1083: Cannot open include file: 'atlstr.h': No such file or directory
[C:\Users\user\git\fluffychat\build\windows\x64\plugins\flutter_secure_storage_windows\flutter_secure_storage_windows_pl
ugin.vcxproj]
[        ]     0 Warning(s)
[        ]     1 Error(s)
[        ] Time Elapsed 00:05:34.30
[  +55 ms] Building Windows application... (completed in 360.9s)
[   +4 ms] "flutter windows" took 365,367ms.
[  +10 ms] Build process failed.
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _runBuild (package:flutter_tools/src/windows/build_windows.dart:253:5)
           <asynchronous suspension>
           #2      buildWindows (package:flutter_tools/src/windows/build_windows.dart:106:5)
           <asynchronous suspension>
           #3      BuildWindowsCommand.runCommand (package:flutter_tools/src/commands/build_windows.dart:56:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1367:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:294:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:112:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>

[  +39 ms] ensureAnalyticsSent: 36ms
[        ] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

Edit: Answered my own question. Missing C++ ATL in my install of VSCode MSBuild tools: https://github.com/mogol/flutter_secure_storage/issues/379#issuecomment-1350496484

Update: It builds, but encryption with Olm doesn't seem to be working, even though I swore I built that library....

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 120 days with no activity.

github-actions[bot] commented 22 hours ago

This issue was closed because it has been inactive for 14 days since being marked as stale.