Comments (8)
@Abhishek0116 this line msix/main/lib/src/configuration.dart
add
msixAssetsPath = Uri.decodeFull(msixAssetsPath);
after
msixAssetsPath = packages
.firstWhere((package) => package.contains('msix:'))
.replaceAll('msix:', '')
.replaceAll('file:///', '') +
'assets';
however, a simple way is to remove the space in Abhishek Kumar
.
FYI: the .packages
file is deprecated. see Dart Package Configuration File v2.0
from msix.
Thanks, @micross and @YehudaKremer I have fixed my issue with your help and tested my created Windows app successfully. As @YehudaKremer said that issue is fixed in version 0.1.14
and currently I tested successfully with version 0.1.15
so I am closing this issue.
from msix.
hello Abhishek
Maybe the problem is file path with a space,
I'm not sure yet.
Please try to setup the 3 icons in your pubspec.yaml
like that:
msix_config:
logo_path: C:\<PathToIcon>\<Logo.png>
start_menu_icon_path: C:\<PathToIcon>\<Icon.png>
tile_icon_path: C:\<PathToIcon>\<Icon.png>
with that the problem is still happening?
from msix.
@YehudaKremer Thanks for your reply.
I tried the above solution but now another error occurred
Here's all command I ran
flutter clean && flutter pub get
flutter build windows
flutter pub run msix:create
Here's the full output
C:\Users\Abhishek Kumar\Development\AndroidStudioProjects\TestProjects\beeta_lubricants>flutter clean && flutter pub get
Deleting .dart_tool... 18ms
Deleting .packages... 3ms
Deleting Generated.xcconfig... 2ms
Deleting flutter_export_environment.sh... 2ms
Deleting ephemeral... 15ms
Deleting ephemeral... 3ms
Deleting ephemeral... 6ms
Deleting .flutter-plugins-dependencies... 2ms
Deleting .flutter-plugins... 3ms
Running "flutter pub get" in beeta_lubricants... 3.2s
C:\Users\Abhishek Kumar\Development\AndroidStudioProjects\TestProjects\beeta_lubricants>flutter build windows
Building with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Building Windows application...
C:\Users\Abhishek Kumar\Development\AndroidStudioProjects\TestProjects\beeta_lubricants>flutter pub run msix:create
getting config values.. [√]
validate config values.. [√]
cleaning temporary files.. [√]
create icons folder.. [√]
copy icons.. [√]
create manifest file.. [√]
copy VCLibs files.. Unhandled exception:
FileSystemException: Directory listing failed, path = 'C:/Users/Abhishek%20Kumar/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/msix-0.1.12/lib/assets/VCLibs/x64\*' (OS Error: The system cannot
find the path specified.
, errno = 3)
Instance of '_StringStackTrace'pub finished with exit code 255
C:\Users\Abhishek Kumar\Development\AndroidStudioProjects\TestProjects\beeta_lubricants>
from msix.
the file path comes from the config file .packages
which is uri encoded.
from msix.
the file path comes from the config file
.packages
which is uri encoded.
Hey, @micross thanks for this info.
What do I need to modify from my side? Can you please explain a bit?
from msix.
@micross Thank you for your inputs!
- i update the code to use
package_config.dart
instead of.packages
. - added Uri.decodeFull
@Abhishek0116 please check if the problem solved in version 0.1.14
from msix.
Hello @Abhishek0116 Did the fix help you?
from msix.
Related Issues (20)
- [FEATURE REQUEST] Add version number to the output name.
- certificate could not be verified during msix installation HOT 2
- Error during Add-AppxPackage –Register AppxManifest.xml HOT 1
- [BUG] Fails to run with git action
- [FEATURE REQUEST] Run an embbeded .exe in assets HOT 6
- Deleting the cached files like Shared Preferences and db file. HOT 2
- [BUG] dart run msix:create no longer works with Flutter 3.16 HOT 2
- [FEATURE REQUEST] Enable/Disable auto start on runtime
- 👉[BUG] Flutter Release build directory not found👈 HOT 3
- [BUG] msix can't sign using thumbprint in gitlab runner
- [FEATURE REQUEST] Option to output .msixbundle file HOT 2
- [QUESTION] Sign exe?
- [FEATURE REQUEST] Reenable appinstaller for web HOT 1
- [BUG] HOT 1
- [BUG] The installation wizard displays a blue background color beneath the app icon. HOT 1
- [BUG] HOT 1
- [BUG] Error after "dart run msix:create" command
- [FEATURE REQUEST] Option to setup custom path for signtool.exe
- [BUG] Missing DLL files HOT 2
- [BUG] startup_task parameters are not available in Windows 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msix.