fabio8v Posted July 29, 2019 Share Posted July 29, 2019 buonasera ho bisogno di aggiungere un percorso a quelli predefiniti, sempre in locale, qualcuno sa come? Link to comment Share on other sites More sharing options...
Administrators Gengik84 Posted July 29, 2019 Administrators Share Posted July 29, 2019 spiegati meglio Link to comment Share on other sites More sharing options...
fabio8v Posted July 29, 2019 Author Share Posted July 29, 2019 devo aggiungere il percorso per flutter Ha scritto dopo 17 secondi: ma in modo permanente Link to comment Share on other sites More sharing options...
Administrators Gengik84 Posted July 29, 2019 Administrators Share Posted July 29, 2019 un app quindi? devi aggiungere percorso dove? spiega il tutto, scusa ma non capisco Link to comment Share on other sites More sharing options...
fabio8v Posted July 29, 2019 Author Share Posted July 29, 2019 supponi che faccia una cartella 'flutter' sotto documenti'...apro il terminale e digito 'flutter'...se non specifico il percorso con la variabile path appare il messaggio 'command not found' Link to comment Share on other sites More sharing options...
Administrators Gengik84 Posted July 29, 2019 Administrators Share Posted July 29, 2019 una cartella non è un eseguibile hai un eseguibile al suo interno? Link to comment Share on other sites More sharing options...
fabio8v Posted July 29, 2019 Author Share Posted July 29, 2019 certo Ha scritto dopo 34 secondi: è un eseguibile solo sotto terminale Link to comment Share on other sites More sharing options...
kernele Posted July 29, 2019 Share Posted July 29, 2019 potresti provare con un alias in stile linux. e nella documentazione ufficiale ne fa qualche riferimento: Update your path You can update your PATH variable for the current session only at the command line, as shown in Get the Flutter SDK. You’ll probably want to update this variable permanently, so you can run flutter commands in any terminal session. The steps for modifying this variable permanently for all terminal sessions are machine-specific. Typically you add a line to a file that is executed whenever you open a new window. For example: Determine the directory where you placed the Flutter SDK. You will need this in Step 3. Open (or create) $HOME/.bash_profile. The file path and filename might be different on your machine. Add the following line and change [PATH_TO_FLUTTER_GIT_DIRECTORY] to be the path where you cloned Flutter’s git repo: content_copy export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin" Run source $HOME/.bash_profile to refresh the current window. Verify that the flutter/bin directory is now in your PATH by running: Link to comment Share on other sites More sharing options...
Administrators Gengik84 Posted July 30, 2019 Administrators Share Posted July 30, 2019 "fabio8v" post_id="39534" time="1564421399" user_id="166"> supponi che faccia una cartella 'flutter' sotto documenti'...apro il terminale e digito 'flutter'...se non specifico il percorso con la variabile path appare il messaggio 'command not found' prova così [code]echo 'PATH=$PATH:~/Users/tuo_Users/Documents/flutter_eseguibile' >> ~/.bash_profile [/code] Link to comment Share on other sites More sharing options...
fabio8v Posted July 30, 2019 Author Share Posted July 30, 2019 anche senza path se vado nella cartella /flutter/bin e digito flutter mi da errore.. Ha scritto dopo 1 minuto 38 secondi: ma i file '*.bat' vanno anche qui? Link to comment Share on other sites More sharing options...
Administrators Gengik84 Posted July 30, 2019 Administrators Share Posted July 30, 2019 quello è per esportare la posizione dell'eseguibile se poi non funziona lui stesso è altro discorso poi mettiamo sia in documenti/flutter/bin e l'eseguibile è flutter quando sei in quella cartella non devi scrivere flutter ma ./flutter Link to comment Share on other sites More sharing options...
fabio8v Posted July 30, 2019 Author Share Posted July 30, 2019 ahh!!! Ora va...grazie gengik84...grazie mille Link to comment Share on other sites More sharing options...
johnnyboy Posted August 7, 2019 Share Posted August 7, 2019 puoi creare un .app, io l ho fatto usando platybus per cherrytree Link to comment Share on other sites More sharing options...
Administrators Gengik84 Posted August 7, 2019 Administrators Share Posted August 7, 2019 un app per cosa? Quando basta aggiungere un percorso? imbarazzati32 Link to comment Share on other sites More sharing options...
fabio8v Posted August 12, 2019 Author Share Posted August 12, 2019 salve si può editare la lista dei percorsi predefiniti? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now